CISLoggingProtocol

@protocol CISLoggingProtocol <NSObject>

Class conforming to this will be responsible for implementing required methods for logging, this is used by the Conviva library to log.

  • Console logging. Will be called frequently if logging is enabled.

    Declaration

    Objective-C

    - (void)consoleLog:(NSString *)message logLevel:(LogLevel)logLevel;

    Swift

    func consoleLog(_ message: String!, logLevel: LogLevel)

    Parameters

    message

    The message to be logged to the console.

    logLevel

    The log level for that message.

  • Notification that Conviva no longer needs this LoggingProtocol.

    Declaration

    Objective-C

    - (void)cleanUp;

    Swift

    func cleanUp()