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