LogOutputter

Class

Defines how logs are being outputted.

Declaration 

1@objc(SFMCSdkLogOutputter)
2open class LogOutputter : NSObject
3
4@objc
5open func out(level: LogLevel, subsystem: String, category: LoggerCategory, message: String)

Cases 

out(level:subsystem:category:message:) 

Captures logs using the native unified logging system (log level must be defined as OSLogType)

1@objc
2open func out(level: LogLevel, subsystem: String, category: LoggerCategory, message: String)