You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubfnwith_level(level: log::LevelFilter){#[cfg(target_arch = "wasm32")]
wasm::start(level);#[cfg(not(target_arch = "wasm32"))]{// Use ndjson in release mode, pretty logging while debugging.// here add some cfg! to choose pretty/ndjsonifcfg!(debug_assertions){
pretty::start(level);}else{
ndjson::start(level);}}}
The text was updated successfully, but these errors were encountered:
hey @lagudomeze ! To make sure I understand this correctly, you're asking for an explicit feature attribute to set for pretty logging? Meaning you'd want pretty logging in production? Would be curious to hear your use case for this.
When thinking about this, I expected parseable logs (for this lib it's ndjson) in production.
Hi @lrlna , it would be great if it will be possible to specify timestamp in pretty print too, and to change timestamp unit (seconds, milli, micro or nano)
The text was updated successfully, but these errors were encountered: