Closed manfredlotz closed 2 years ago
Oops sorry for the noise. I guess I found it as I can do the following
fern::Dispatch::new()
.format(|out, message, record| {
...
})
.chain(
fern::Dispatch::new()
...
.format(|out, message, record| {
})
)
.chain(
fern::Dispatch::new()
...
.format(|out, message, record| {
})
)
.apply()?;
Let's say I log to
How could I define different formats for looging to
stderr
and fileoutput.log
?