Enumeration Caseswift-log 1.6.2Logging

critical

Appropriate for critical error conditions that usually require immediate attention.

Logging.swift:876
case critical

When a critical message is logged, the logging backend (LogHandler) is free to perform more heavy-weight operations to capture system state (such as capturing stack traces) to facilitate debugging.

See also

  • case trace

    Appropriate for messages that contain information normally of use only when tracing the execution of a program.

  • case debug

    Appropriate for messages that contain information normally of use only when debugging a program.

  • case info

    Appropriate for informational messages.

  • case notice

    Appropriate for conditions that are not error conditions, but that may require special handling.

  • case warning

    Appropriate for messages that are not error conditions, but more severe than .notice.

  • case error

    Appropriate for error conditions.