Closed cskeeters closed 3 months ago
The log level is currently static at runtime, and filtered at build time in release mode to only keep what is at level info
or above: https://github.com/desbma/rsop/blob/f01776e741d97c9a7f7f440d4432e89334a0d62a/Cargo.toml#L17
Thanks for the info.
Given https://github.com/desbma/rsop/issues/5, I changed max_level_trace
to max_level_error
so I can just run the debug release without any additional output.
When I configured this tool for use with fzf, it outputs logging before launching the associated handler. To turn off the logging, I made the following change:
and then I could configure the level by launching the program with:
NOTE: my version of rsop was compiled as a debug target. I don't know if that affects logging or not.
I don't see much in the way of logging configuration documentation in the README.md file. How is log level supposed to be configured?