emabee/flexi_logger

logging to different log files

incker opened this issue · 2 comments

Maybe a question not a feature reqwest.

I have seen that it is possible to write log something like this

log!(target: "app_events", Level::Warn, "Some desription: {}", 4);

Is that possible to write to different log files depends on target (target = file name)?

Or maybe you can advise any other crate that can make different file logging. forward thank you!

Yes, that should be possible. See module writers for more details.

Thank you!
That helped!