LogMessage

public struct LogMessage

Information about the log message.

Since

1.2.0
  • The log message.

    Declaration

    Swift

    public let message: String
  • The log level.

    Declaration

    Swift

    public let level: LogLevel
  • The source file where the log message is generated.

    Declaration

    Swift

    public let file: String
  • The function where the log message is generated.

    Declaration

    Swift

    public let function: String
  • The line where the log message is generated.

    Declaration

    Swift

    public let line: UInt
  • The description of the log message.

    Declaration

    Swift

    public let description: String
  • The date and time when the log message is generated.

    Declaration

    Swift

    public let timestamp: Date
  • The name of the thread where the log message is generated.

    Declaration

    Swift

    public let threadName: String