PMLogger

Document created by david.simerly on Nov 21, 2017Last modified by david.simerly on Apr 4, 2018
Version 2Show Document
  • View in full screen mode

PubMatic SDKs

AdRequest

NativeAdSize

PMAdRendered

PMAdRequest

PMAdRequest.AD_TYPE

PMAdRequest.AWT_OPTION

PMAdRequest.ETHNICITY

PMAdRequest.GENDER

PMAdRequest.HASHING_TECHNIQUE

PMAdRequest.OPERID

PMAdRequest.RS

PMAdSize

PMAdSize

PMBannerAdRequest

PMBannerAdView

PMBannerAdView.BannerAdViewDelegate

PMBannerAdView.BannerAdViewDelegate.
     ActivityListener

PMBannerAdView.BannerAdViewDelegate.
     FeatureSupportHandler

PMBannerAdView.BannerAdViewDelegate.
     InternalBrowserListener

PMBannerAdView.BannerAdViewDelegate.
     RequestListener

PMBannerAdView.BannerAdViewDelegate.
     RichMediaListener

PMBannerImpression

PMBid

PMError

PMImpression

PMInterstitialAd

PMInterstitialAd.InterstitialAdListener

PMInterstitialAd.InterstitialAdListener.
     ActivityListener

PMInterstitialAd.InterstitialAdListener.
     FeatureSupportHandler

PMInterstitialAd.InterstitialAdListener.
     InternalBrowserListener

PMInterstitialAd.InterstitialAdListener.
     RequestListener

PMInterstitialAd.InterstitialAdListener.
     RichMediaListener

PMInterstitialAdRequest

➤ PMLogger

PMLogger.LogListener

PMLogger.PMLogLevel

PMNativeAd

PMNativeAd.Image

PMNativeAd.NativeRequestListener

PMNativeAdRequest

PMNativeAssetRequest

PMNativeAssetResponse

PMNativeDataAssetRequest

PMNativeDataAssetResponse

PMNativeDataAssetTypes

PMNativeImageAssetRequest

PMNativeImageAssetResponse

PMNativeImageAssetTypes

PMNativeTitleAssetRequest

PMNativeTitleAssetResponse

PMPrefetchManager

PMPrefetchManager.PMPrefetchListener

PMPrefetchRequest

PubMaticSDK


PubMatic Android SDK Guide

com.pubmatic.sdk.common

Class PMLogger

java.lang.Object
    com.pubmatic.sdk.common.PMLogger

public class PMLogger
extends java.lang.Object

 

Logger file for logging SDK log statements

 

Nested Class Summary

Modifier and TypeClass and Description
static interface PMLogger.LogListener Interface allowing application developers to control logging.
static class PMLogger.PMLogLevel Log level

 

Constructor Summary

Constructor and Description
PMLogger() 

 

Method Summary

Modifier and TypeMethod and Description
PMLogger.PMLogLevelgetLogLevel() Returns the currently configured log level.
static PMLogger.LogListenergetLogListener() 
static voidlogEvent(java.lang.string event, PMLogger.PMLogLevel eventLevel) Logs the event/string as per given log level
static voidsetLogLevel(PMLogger.PMLogLevel logLevel) Sets the log level of the instance.
static voidsetLogListener(PMLogger.LogListener listener) 

 

Methods inherited from class java.lang.Object


clone, equals, finalize, getClass, hashCode, notify, notifyAll, tostring, wait, wait, wait

 

Constructor Detail


PMLogger

public PMLogger()

 

Method Detail


setLogLevel

public static void setLogLevel(PMLogger.PMLogLevel logLevel)

 

Sets the log level of the instance. Logging is done through console logging. Default value is Error

 

Parameters:
logLevel - PMLogLevel

 

getLogLevel

public PMLogger.PMLogLevel getLogLevel()

 

Returns the currently configured log level.

 

Returns:
currently configured PMLogLevel

 

logEvent

public static void logEvent(java.lang.string event, PMLogger.PMLogLevel eventLevel)

 

Logs the event/string as per given log level

 

Parameters:
event -
eventLevel -

 

getLogListener

public static PMLogger.LogListener getLogListener()

 

setLogListener

public static void setLogListener(PMLogger.LogListener listener)

 

Attachments

    Outcomes