LogMessage
public class LogMessage
日志消息结构体
-
日志消息
Declaration
Swift
public var message: String
-
日志时间戳
Declaration
Swift
public var timestamp: TimeInterval
-
日志类型
Declaration
Swift
public var type: LogType
-
日志分组,默认空
Declaration
Swift
public var group: String
-
附加metadata信息
Declaration
Swift
public var metadata: [AnyHashable : Any]?
-
线程名称
Declaration
Swift
public var thread: String
-
方法名
Declaration
Swift
public var function: String
-
文件名
Declaration
Swift
public var file: String
-
行数
Declaration
Swift
public var line: Int
-
Undocumented
Declaration
Swift
public init()