XCGLoggerAdapter

open class XCGLoggerAdapter : AgsLoggable

SDK debug logger used for internal logging purposes. Developers and SDK users can manage loggers on service level by changing format, disabling enabling logging etc. Class implements AgsLoggable for https://github.com/DaveWoodCom/XCGLogger

  • Log something at the verbose log level.

    Declaration

    Swift

    open override func verbose(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @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 override func debug(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @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 override func info(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @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 override func warning(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @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 override func error(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @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 override func severe(functionName: StaticString = #function, fileName: StaticString = #file, lineNumber: Int = #line, _ closure: @autoclosure () -> Any?)

    Parameters

    closure

    A closure that returns the object to be logged. It can be any object like string, array etc.