Skip to main content

ENUM

ArdkLogLevel

public enum ArdkLogLevel

Defines the available logging levels for ARDK.

ArdkLogLevel controls the verbosity of logging output from the ARDK system. Logging can be configured separately for stdout, files, and callback functions.

Overview​

Log levels follow a hierarchical structure where higher levels include all messages from lower levels. For example, setting the level to .warn will include warning, error, and fatal messages, but exclude debug and info messages.

Cases​

all​

case all

Logs all messages regardless of level.

This is the most verbose logging level and should only be used for debugging.

debug​

case debug

Logs debug messages and all higher priority messages.

Debug messages provide detailed information useful for development and troubleshooting.

info​

case info

Logs informational messages and all higher priority messages.

Info messages provide general information about system operation and state changes.

warn​

case warn

Logs warning messages and all higher priority messages.

Warning messages indicate potential issues that don't prevent operation but may affect performance or reliability.

error​

case error

Logs error messages and fatal messages.

Error messages indicate problems that prevent normal operation or may cause unexpected behavior.

off​

case off

Disables all logging output.

This level completely suppresses all log messages for maximum performance.