LoggingLevel

The severity of a log message.

These levels map to syslog message severities, as specified in RFC-5424.

Levels are ordered from least to most severe: Debug<Info<Notice<Warning<Error<Critical<Alert<Emergency

Entries

Link copied to clipboard
@SerialName(value = "debug")
Debug

Detailed debug information for troubleshooting (RFC-5424: Debug)

Link copied to clipboard
@SerialName(value = "info")
Info

Informational messages about normal operations (RFC-5424: Informational)

Link copied to clipboard
@SerialName(value = "notice")
Notice

Normal but significant conditions (RFC-5424: Notice)

Link copied to clipboard
@SerialName(value = "warning")
Warning

Warning conditions that may require attention (RFC-5424: Warning)

Link copied to clipboard
@SerialName(value = "error")
Error

Error conditions that require attention (RFC-5424: Error)

Link copied to clipboard
@SerialName(value = "critical")
Critical

Critical conditions requiring immediate action (RFC-5424: Critical)

Link copied to clipboard
@SerialName(value = "alert")
Alert

Action must be taken immediately (RFC-5424: Alert)

Link copied to clipboard
@SerialName(value = "emergency")
Emergency

System is unusable, highest severity (RFC-5424: Emergency)

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

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

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.