yoshuawuyts/kv-log-macro

Missing log output

Opened this issue · 2 comments

I don't know where in the chain this breaks, but when using femme as a logger with this only log::info!("hello", {}) works, but log::info!("hello") gets ignored.

Oh no that's no good haha. Yeah we should fix that.

jbr commented

Edit: Leaving this up in case anyone else finds this, but using 1.0.6 solved the issue for me

I ran into this and did a bit of digging before I found this Issue. I'm not sure if this is related, but this state should be impossible, but somehow is not:

[examples/log.rs:6] kv_log_macro::STATIC_MAX_LEVEL = Debug
[examples/log.rs:6] log::STATIC_MAX_LEVEL = Trace

Maybe kv-log-macro needs to include its own features for settting static max level and comparable cfg-if logic?