Closed threeh11 closed 1 month ago
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: