LogLevel

public enum LogLevel: Int, CustomStringConvertible

See https://logging.apache.org/log4j/2.0/manual/architecture.html for more info

  • ALL: All levels including custom levels.
  • DEBUG: Designates fine-grained informational events that are most useful to debug an application.
  • ERROR: Designates error events that might still allow the application to continue running.
  • FATAL: Designates very severe error events that will presumably lead the application to abort.
  • INFO: Designates informational messages that highlight the progress of the application at coarse-grained level.
  • OFF: The highest possible rank and is intended to turn off logging.
  • TRACE: Designates finer-grained informational events than the DEBUG.
  • WARN: Designates potentially harmful situations.

ALL < DEBUG < TRACE < INFO < WARN < ERROR < FATAL < OFF.

A log request of level p in a logger with level q is enabled if p >= q

  • All

    Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Off

    Undocumented

    Declaration

    Swift

    public enum LogLevel: Int, CustomStringConvertible
  • Converts the LogLevel into a string - Returns: The name of the log level as a string

    Declaration

    Swift

    public var description: String

    Return Value

    The name of the log level as a string