Geal / rust-syslog

Send syslog messages from Rust
MIT License
109 stars 55 forks source link

Accept all `T: fmt::Display` in `message` argument, not just `&str`. #16

Closed Kixunil closed 7 years ago

Kixunil commented 7 years ago

Advantages of this interface:

Something that could be considered disadvantage is the ability to directly log surprising things, like u32 etc. My personal opinion is that it's not much of a problem.

Note that this is perfectly backward-compatible because &str: fmt::Display.

Geal commented 7 years ago

good idea, thanks

Kixunil commented 7 years ago

YAW! Do you have an ETA of release?