TVOLogger

Objective-C

@protocol TVOLogger <NSObject>

Swift

protocol TVOLogger : NSObjectProtocol

TVOLogger is the protocol for the custom logger that can be implemented by the SDK user.

Required Methods

  • @brief Invoked every time there is a log message available that satisfies the log module and log level filters set by the developer. Please note that this method will be invoked very frequently so avoid doing heavy work on this thread.

    See

    TVOLogParameters

    Declaration

    Objective-C

    - (void)log:(nonnull TVOLogParameters *)logParameters;

    Swift

    func log(_ logParameters: TVOLogParameters)

    Parameters

    logParameters

    The <TVOLogParameters> for the log message.