EVerest / liblog

A simple logging library
Apache License 2.0
5 stars 3 forks source link

Option to reduce log verbosity #22

Open james-ctc opened 2 months ago

james-ctc commented 2 months ago

It would be nice to have a compile option so that file and line numbers are omitted for the lower level logs.

hikinggrass commented 2 months ago

I'm working on moving over the logging backend from Boost.Log towards spdlog at the moment. I already added a way of overwriting file/line/function per individual log message (could be useful if the logging comes from another place). But I'll add a compile time flag for disabling this entirely. Another option might be to (additionally) provide individual formatstrings for the different log levels