com.microsoft.aad.adal
Enum Logger.LogLevel

java.lang.Object
  extended by java.lang.Enum<Logger.LogLevel>
      extended by com.microsoft.aad.adal.Logger.LogLevel
All Implemented Interfaces:
Serializable, Comparable<Logger.LogLevel>
Enclosing class:
Logger

public static enum Logger.LogLevel
extends Enum<Logger.LogLevel>

Log level.


Enum Constant Summary
Debug
          Deprecated.  
Error
          Error.
Info
          Info.
Verbose
          Verbose.
Warn
          Warning.
 
Method Summary
static Logger.LogLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Logger.LogLevel[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
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

Error

public static final Logger.LogLevel Error
Error.


Warn

public static final Logger.LogLevel Warn
Warning.


Info

public static final Logger.LogLevel Info
Info.


Verbose

public static final Logger.LogLevel Verbose
Verbose.


Debug

public static final Logger.LogLevel Debug
Deprecated. 
Debug level only.

Method Detail

values

public static Logger.LogLevel[] 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 (Logger.LogLevel c : Logger.LogLevel.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Logger.LogLevel valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2003–2015. All rights reserved.