mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2025-10-13 16:46:46 +00:00
Deprecate uppercase severity names
This commit is contained in:
parent
3a5afe2d6a
commit
c637be5759
|
@ -49,21 +49,21 @@ enum class Severity : int
|
||||||
debug3,
|
debug3,
|
||||||
debug4,
|
debug4,
|
||||||
trace,
|
trace,
|
||||||
// backwards-compatibility:
|
|
||||||
NOLOG = nolog,
|
|
||||||
FATAL = fatal,
|
|
||||||
ERROR = error,
|
|
||||||
WARN = warn,
|
|
||||||
warning = warn,
|
warning = warn,
|
||||||
WARNING = warn,
|
// backwards-compatibility:
|
||||||
STATE = state,
|
NOLOG __attribute__((deprecated("Use LOG(nolog) instead (lowercase severity name)."))) = nolog,
|
||||||
INFO = info,
|
FATAL __attribute__((deprecated("Use LOG(fatal) instead (lowercase severity name)."))) = fatal,
|
||||||
DEBUG = debug,
|
ERROR __attribute__((deprecated("Use LOG(error) instead (lowercase severity name)."))) = error,
|
||||||
DEBUG1 = debug1,
|
WARN __attribute__((deprecated("Use LOG(warn) instead (lowercase severity name)."))) = warn,
|
||||||
DEBUG2 = debug2,
|
WARNING __attribute__((deprecated("Use LOG(warning) instead (lowercase severity name)."))) = warn,
|
||||||
DEBUG3 = debug3,
|
STATE __attribute__((deprecated("Use LOG(state) instead (lowercase severity name)."))) = state,
|
||||||
DEBUG4 = debug4,
|
INFO __attribute__((deprecated("Use LOG(info) instead (lowercase severity name)."))) = info,
|
||||||
TRACE = trace
|
DEBUG __attribute__((deprecated("Use LOG(debug) instead (lowercase severity name)."))) = debug,
|
||||||
|
DEBUG1 __attribute__((deprecated("Use LOG(debug1) instead (lowercase severity name)."))) = debug1,
|
||||||
|
DEBUG2 __attribute__((deprecated("Use LOG(debug2) instead (lowercase severity name)."))) = debug2,
|
||||||
|
DEBUG3 __attribute__((deprecated("Use LOG(debug3) instead (lowercase severity name)."))) = debug3,
|
||||||
|
DEBUG4 __attribute__((deprecated("Use LOG(debug4) instead (lowercase severity name)."))) = debug4,
|
||||||
|
TRACE __attribute__((deprecated("Use LOG(trace) instead (lowercase severity name)."))) = trace
|
||||||
};
|
};
|
||||||
|
|
||||||
// verbosity levels:
|
// verbosity levels:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user