Relative Content

Tag Archive for rustlogging

How does the `log` crate know which logger to use?

I’m still on the noob side of Rust and I’m reading about the available logging crates. Something about the logcrate and its different implementations looks like magic to me. Take for example this snippet (taken from this article):