AdLoggerDestination
@objc(AASDKAdLoggerDestination)
public protocol AdLoggerDestination
Write a custom destination for the logger. The default destination is NSLog
.
-
Called when there is something to log from.
Declaration
Swift
func log(_ level: AdLogger.Level, functionName: String, fileName: String, lineNumber: Int, line: String)
Parameters
level
log level
functionName
name of the function where the call occurred
fileName
name of the file
lineNumber
line number
line
log line