Page tree


com.pubmatic.sdk.common

Interface PMLogger.LogListener

Enclosing class:
PMLogger

public static interface PMLogger.LogListener

Interface allowing application developers to control logging.

Method Summary

Modifier and TypeMethod and Description
void onLogEvent(java.lang.string event, PMLogger.PMLogLevel logLevel) Invoked when the SDK logs events.

Method Detail


onLogEvent

void onLogEvent(java.lang.string event, PMLogger.PMLogLevel logLevel)

Invoked when the SDK logs events. If applications override logging they can return true to indicate the log event has been consumed and the SDK processing is not needed.

Will not be invoked if the adView instance's logLevel is set lower than the event.

Parameters:
event - string representing the event to be logged.
logLevel - PMLogLevel of the event.


⇧ Top