dlr-gtlab / gt-logging

Basic C++14 logging library based on QsLog
0 stars 0 forks source link

Resolve "Setting logging level to OffLevel does not actually turn off the logging" #126

Closed mariusalexander closed 7 months ago

mariusalexander commented 9 months ago

Closes #123

mariusalexander commented 7 months ago

@rainman110 May you have a look at the changes? I changed the value of the OffLevel to be larger than all other levels. That way we do not have to change the If-statement used for the macros etc (i.e. we can use >=/<= operators to check if a logging level can be logged).

rainman110 commented 7 months ago

LGTM!