LogLevel
# Log Level
Enumerates well-known or widely-recognized logging levels. These are used to indicate the severity of a given log
message, and to decide at what severity level log messages should be emitted.
Content copied to clipboard
elide.std.LogLevel
Properties
Link copied to clipboard
## Critical
Critical error states are unexpected states in program execution which are completely invalid or illegal, and which
may cause a crash of the program or system. Critical error messages are the highest available level of logging and
are typically never squelched from output.
Content copied to clipboard
CRITICAL = 99;
Link copied to clipboard
## Debug
Debug-level logging is typically used during development, or diagnosis of bugs; it is often only activated in rare
circumstances. Debug logging should withhold enough messages to be useful in diagnosis, so it is one level above
`TRACE`-level logging.
Content copied to clipboard
DEBUG = 200;
Link copied to clipboard
## Errors
Errors are states in execution which are considered invalid or illegal, and therefore must be surfaced to the user,
developer, or operator. Error cases are not always critical, but always important enough to be advertised.
Content copied to clipboard
ERROR = 500;
Link copied to clipboard
Alias for `DEBUG`-level logging.
Content copied to clipboard
FINE = 200;
Link copied to clipboard
Alias for `TRACE`-level logging.
Content copied to clipboard
FINEST = 100;
Link copied to clipboard
## Info
Info-level logging is considered informative but not critical in any capacity. It is often used to announce various
system or software states, or to show regular activity which is not errant.
Content copied to clipboard
INFO = 300;
Link copied to clipboard
## Default
This value indicates a system-default logging level, or fallback to a declared logging level from somewhere else.
Content copied to clipboard
LOG_LEVEL_DEFAULT = 0;
Link copied to clipboard
## Trace
Trace-level logging is typically used to show the path that code takes during execution; it is often considered the
"finest" or "highest-grain" logging level.
Content copied to clipboard
TRACE = 100;
Link copied to clipboard
Alias for `WARNING`-level logging.
Content copied to clipboard
WARN = 400;
Link copied to clipboard
## Warnings
Warning-level logging is used to indicate conditions that are not necessarily errors, and which may be recoverable,
but still need operator or developer or user attention.
Content copied to clipboard
WARNING = 400;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)