AgsLoggable
open class AgsLoggable
Class that should be extende by all implementations that want to provide logging functionality Note: This class is moved from protocol because logger interface requires to provide default values for line numbers etc. Class can be also used to disable SDK logging
-
Log something at the verbose log level.
Declaration
Swift
open func verbose(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.
-
Log something at the debug log level.
Declaration
Swift
open func debug(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.
-
Log something at the info log level. *
Declaration
Swift
open func info(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.
-
Log something at the warning log level.
Declaration
Swift
open func warning(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.
-
Log something at the error log level. *
Declaration
Swift
open func error(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.
-
Log something at the severe log level.
Declaration
Swift
open func severe(functionName _: StaticString = #function, fileName _: StaticString = #file, lineNumber _: Int = #line, _: @autoclosure () -> Any?)
Parameters
closure
A closure that returns the object to be logged. It can be any object like string, array etc.