Improve the simple_filter macro
The simple_filter macro must accept the two different levels of contexts. In the same way, it should also accept the log level, and therefore replace the now removed simple_filter_log_level macro.
This commit is contained in:
parent
789a41b51e
commit
995c0c35c1
4 changed files with 46 additions and 22 deletions
|
@ -20,6 +20,6 @@ opensmtpd_derive = { path = "../opensmtpd-derive", version = "0.2" }
|
|||
name = "echo"
|
||||
path = "examples/echo.rs"
|
||||
|
||||
#[[example]]
|
||||
#name = "counter"
|
||||
#path = "examples/session_event_counter.rs"
|
||||
[[example]]
|
||||
name = "counter"
|
||||
path = "examples/session_event_counter.rs"
|
||||
|
|
Reference in a new issue