Meinolf Block

Results 14 comments of Meinolf Block

Hi Spyros, I agree that the hard-coded treatment of RUST_LOG is questionable, but it's there since ever, to be compatible with env_logger. The desired result can also be achieved with:...

Wrapping your file object like this would make it usable for `Logger::log_to_writer`: ```rust use flexi_logger::writers::LogWriter; use std::{ io::{Error, ErrorKind}, sync::{Arc, Mutex}, }; struct MyWriter { file: Arc, } impl LogWriter...

If I may formulate a wish-list: it should be a reasonably documented little class of its own, like above, with some decent constructor(s), that also allows choosing the format function,...

I can't reproduce the issue so far :-| What environment (OS version, terminal, rustc version) are you working in?

Did you set the environment variable FLEXI_LOGGER_PALETTE?

Are you piping the output explicitly through other programs? Since 0.15.8, colors are switched off if the output does not go to a terminal. You could test with 0.15.7 to...

I still have no clue what can go wrong. Version 0.16.0 now comes with an extended color example. It would be interesting to see its output in your case!

I mean the colors example - it is now (version 0.16.1) extended and prints out some additional information that flexi_logger uses internally to decide if coloring should be done. Please...

How did you run it? _Did_ you switch off the default features?

Looks like I didn‘t yet push the last change to github, but that doesn’t matter. 0.16.1 improved something unrelated to the coloring. If you copy the source file to a...