-
It seems that I can call I could not find anything relevant in the docs, but my search fu is not very high. Is there an official way to log from a Rocket app? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Those macros are actually reexported without the underscore, so you can do the same thing with just That said, there's a longstanding issue to improve logging: #21 There have been a couple attempts to replace the current logging infrastructure with tracing to allow for more flexibility, but it's unfortunately never been merged, yet. I'd guess we get improved logging sometime in 0.7 or 0.8! |
Beta Was this translation helpful? Give feedback.
-
Ah, without the |
Beta Was this translation helpful? Give feedback.
-
In any case I posted about logging. |
Beta Was this translation helpful? Give feedback.
Those macros are actually reexported without the underscore, so you can do the same thing with just
rocket::info!("blah")
rather than fully pathing the module.That said, there's a longstanding issue to improve logging: #21
There have been a couple attempts to replace the current logging infrastructure with tracing to allow for more flexibility, but it's unfortunately never been merged, yet. I'd guess we get improved logging sometime in 0.7 or 0.8!