LogMessage
public struct LogMessage : Codable, Equatable
Log message details.
-
The severity of the log message.
See moreDeclaration
Swift
public enum Level : String -
The severity of the log message.
Declaration
Swift
public var level: String -
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
LogMessagewith member variables.Declaration
Swift
public init( level: String, msg: String, code: String, source: LogMessageSource? = nil )Parameters
levelThe severity of the log message.
msgThe text of the log message.
codeA code that indicates the category to which the error message belongs.
sourceAn object that identifies the dialog element that generated the error message.
Return Value
An initialized
LogMessage.
View on GitHub
LogMessage Structure Reference