LogMessage

public struct LogMessage : Codable, Equatable

Log message details.

  • The severity of the log message.

    See more

    Declaration

    Swift

    public enum Level : String
  • The severity of the log message.

    Declaration

    Swift

    public var level: String
  • msg

    The text of the log message.

    Declaration

    Swift

    public var msg: String
  • A code that indicates the category to which the error message belongs.

    Declaration

    Swift

    public var code: String
  • An object that identifies the dialog element that generated the error message.

    Declaration

    Swift

    public var source: LogMessageSource?
  • Initialize a LogMessage with member variables.

    Declaration

    Swift

    public init(
        level: String,
        msg: String,
        code: String,
        source: LogMessageSource? = nil
    )

    Parameters

    level

    The severity of the log message.

    msg

    The text of the log message.

    code

    A code that indicates the category to which the error message belongs.

    source

    An object that identifies the dialog element that generated the error message.

    Return Value

    An initialized LogMessage.