LogOutputter
@objc(SFMCSdkLogOutputter)
open class LogOutputter : NSObject
Defines how logs are being outputted.
- Tag: LogOutputter
-
Captures logs using the native unified logging system (log level must be defined as OSLogType)
Declaration
Swift
@objc open func out(level: LogLevel, subsystem: String, category: LoggerCategory, message: String)
Parameters
level
(LogLevel) instance to define log level detail
subsystem
Subsystem identifying a specific subsystem of app
category
System-defined category
message
Message