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
levellog level
functionNamename of the function where the call occurred
fileNamename of the file
lineNumberline number
linelog line