Drakulix / simplelog.rs

Simple Logging Facility for Rust
https://docs.rs/simplelog/
Apache License 2.0
439 stars 73 forks source link

Update to log 0.4 #11

Closed matklad closed 6 years ago

matklad commented 6 years ago

Hi! A new major version of log was released, and simple log is not compatible with it.

I am not sure what's the proper way to update simplelog though: simplelog reexports LogLevel and LogLevelFilter from log, but these are the structures which got changed (now they are log::Level and log::LevelFilter).

Drakulix commented 6 years ago

Thanks for the heads-up, I will try to update simplelog in the upcoming days.

matklad commented 6 years ago

Hi! A new major version of log was released, and simple log is not compatible with it.

Yeah, just to clarify, what happens is that if you application uses log = "0.4" and simple_log, then everything compiles, but log messages are silently discarded. It took me some time to figure out what's going so, I'll leave this comment here in case someone hits a similar problem.

Drakulix commented 6 years ago

Fixed by #15