LogLevel

The LogLevel class provides a structured representation of different log levels.

Entries

Link copied to clipboard

The highest log level - no messages on this level will ever be logged. Use to disable logging.

Link copied to clipboard

A log level for reporting errors. Messages with this severity level indicate critical issues that need attention.

Link copied to clipboard

A log level for reporting warnings. Messages with this severity level indicate potential issues or conditions that may require attention but do not necessarily result in an error.

Link copied to clipboard

A general log level for standard informational messages. It is suitable for messages that provide general information about the system's state or operations.

Link copied to clipboard

A log level indicating detailed debug information. It is used for messages that are helpful during development and debugging processes.

Link copied to clipboard

A log level indicating detailed, verbose debug information. It is used for messages that are helpful during development and debugging processes.

Functions

Link copied to clipboard
open fun valueOf(name: String): LogLevel

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.)

Link copied to clipboard
open fun values(): Array<LogLevel>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.