mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-10-15 09:31:44 +00:00
Always define FAIR_MIN_SEVERITY
This commit is contained in:
@@ -106,10 +106,10 @@ Logger will log the chosen severity and all above it (except "nolog", which deac
|
||||
|
||||
The minimum severity level can be configured at compile time via definition of `FAIR_MIN_SEVERITY`:
|
||||
|
||||
```C++
|
||||
#define FAIR_MIN_SEVERITY warn // only allow severities >= warn
|
||||
#include <fairlogger/Logger.h>
|
||||
```
|
||||
cmake -DFAIR_MIN_SEVERITY=warn ..
|
||||
```
|
||||
The above would only log severities equal to or above `warn`.
|
||||
|
||||
When `FAIR_MIN_SEVERITY` is not provided all severities are enabled.
|
||||
|
||||
|
Reference in New Issue
Block a user