Logger

@objc public class Logger: NSObject

Define the log interface.

App can write a subclass inherited from this class to supply log functionality.

  • Output verbose level log.

    • Parameters:
      • message: The message will be outputted at verbose level.

    Declaration

    Swift

    public func verbose(message message: String)

    Parameters

    message

    The message will be outputted at verbose level.

  • Output info level log.

    • Parameters:
      • message: The message will be outputted at info level.

    Declaration

    Swift

    public func info(message message: String)

    Parameters

    message

    The message will be outputted at info level.

  • Output warning level log.

    • Parameters:
      • message: The message will be outputted at warning level.

    Declaration

    Swift

    public func warning(message message: String)

    Parameters

    message

    The message will be outputted at warning level.

  • Output error level log.

    • Parameters:
      • message: The message will be outputted at error level.

    Declaration

    Swift

    public func error(message message: String)

    Parameters

    message

    The message will be outputted at error level.