org.graphstream.util
Enum Logger.LogLevel

java.lang.Object
  extended by java.lang.Enum<Logger.LogLevel>
      extended by org.graphstream.util.Logger.LogLevel
All Implemented Interfaces:
Serializable, Comparable<Logger.LogLevel>
Enclosing class:
Logger

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

The different log levels. It can be DEBUG, INFO, WARN or ERROR. There is an order between the different log level: DEBUG < INFO < WARN < ERROR. So if you set the logLevel to DEBUG, then you will receive _all_ the messages, if you set it to INFO, then you will not receive the DEBUG messages. If you set it to WARN, you will not receive the INFO or DEBUG messages. And so on...


Enum Constant Summary
DEBUG
           
ERROR
           
INFO
           
RESULT
           
WARN
           
 
Field Summary
 String info
           
 int value
           
 
Method Summary
 boolean ge(Logger.LogLevel other)
           
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
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEBUG

public static final Logger.LogLevel DEBUG

INFO

public static final Logger.LogLevel INFO

WARN

public static final Logger.LogLevel WARN

ERROR

public static final Logger.LogLevel ERROR

RESULT

public static final Logger.LogLevel RESULT
Field Detail

info

public String info

value

public int value
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

ge

public boolean ge(Logger.LogLevel other)


Copyright © 2013. All Rights Reserved.