LogLevel

Severity level for log messages.

Ordinal values are ascending in severity: NONE<VERBOSE<DEBUG<INFO<WARN<ERROR. Implementations can compare ordinals to filter by minimum level.

Since

0.1.0

Entries

Link copied to clipboard

Disabled; no messages are logged.

Link copied to clipboard

Verbose — detailed trace of internal operations.

Link copied to clipboard

Debug — diagnostic information for development.

Link copied to clipboard

Info — significant events (connect, disconnect, errors).

Link copied to clipboard

Warning — potentially problematic conditions.

Link copied to clipboard

Error — failures that do not prevent further operation.

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
fun valueOf(value: 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

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