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
Hi! Thanks for your library. The question is whether it is possible to create two instances logging different levels and having different paths. Or there can't be more than 1 instance at all. I'm sorry if my question may seem silly. I'm just learning all this) Example:
flexi_logger is one of several alternative backends for the log crate. The log crate defines some macros that applications and libraries use in their code to write log entries.
By registering a log backend in its main method, the application finally defines if and how these write calls will be handled.
Registering two or more backends is not possible. flexi_logger offers instead some flexibility to handle various backends in parallel (stdout stderr, files, syslog, other writers).
See module writers for details how to direct individual log calls to explicitly registered writers.
Hi! Thanks for your library. The question is whether it is possible to create two instances logging different levels and having different paths. Or there can't be more than 1 instance at all. I'm sorry if my question may seem silly. I'm just learning all this) Example:
The text was updated successfully, but these errors were encountered: