Page tree


com.pubmatic.sdk.common

Enum PMLogger.PMLogLevel

java.lang.Object
    java.lang.Enum<PMLogger.PMLogLevel>
        com.pubmatic.sdk.common.PMLogger.PMLogLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PMLogger.PMLogLevel>
Enclosing class:
PMLogger

public static enum PMLogger.PMLogLevel
extends java.lang.Enum<PMLogger.PMLogLevel>

Log level

Enum Constant Summary

Enum Constant and Description
Assert
Custom
Debug
Error
Info
None
Verbose
Warn

Method Summary

Modifier and TypeMethod and Description
static PMLogger.PMLogLevel valueOf(java.lang.string name) Returns the enum constant of this type with the specified name.
static PMLogger.PMLogLevel[] values()

Methods inherited from class java.lang.Enum


clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, tostring, valueOf

Methods inherited from class java.lang.Object


getClass, notify, notifyAll, wait, wait, wait

Enum Constant Detail


Custom

public static final PMLogger.PMLogLevel Custom

None

public static final PMLogger.PMLogLevel None

Verbose

public static final PMLogger.PMLogLevel Verbose

Debug

public static final PMLogger.PMLogLevel Debug

Info

public static final PMLogger.PMLogLevel Info

Warn

public static final PMLogger.PMLogLevel Warn

Error

public static final PMLogger.PMLogLevel Error

Assert

public static final PMLogger.PMLogLevel Assert

Method Detail


values

public static PMLogger.PMLogLevel[] values()

Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

for (PMLogger.PMLogLevel c : PMLogger.PMLogLevel.values()) System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PMLogger.PMLogLevel valueOf(java.lang.string name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


⇧ Top