jInfer

cz.cuni.mff.ksi.jinfer.base.utils
Class LogLevelUtils

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.base.utils.LogLevelUtils

public final class LogLevelUtils
extends Object

Utility class for getting Colors of log levels set in options for Logger.


Field Summary
static Color DEBUG_DEFAULT
           
static Color ERROR_DEFAULT
           
static Color FATAL_DEFAULT
           
static Color INFO_DEFAULT
           
static Color TRACE_DEFAULT
           
static Color WARN_DEFAULT
           
 
Method Summary
static Color getColorDebug()
          Get Color for Level.DEBUG log level.
static Color getColorError()
          Get Color for Level.FATAL log level.
static Color getColorFatal()
          Get Color for Level.FATAL log level.
static Color getColorInfo()
          Get Color for Level.INFO log level.
static Color getColorTrace()
          Get Color for Level.TRACE log level.
static Color getColorWarn()
          Get Color for Level.WARN log level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_DEFAULT

public static final Color TRACE_DEFAULT

DEBUG_DEFAULT

public static final Color DEBUG_DEFAULT

INFO_DEFAULT

public static final Color INFO_DEFAULT

WARN_DEFAULT

public static final Color WARN_DEFAULT

ERROR_DEFAULT

public static final Color ERROR_DEFAULT

FATAL_DEFAULT

public static final Color FATAL_DEFAULT
Method Detail

getColorTrace

public static Color getColorTrace()
Get Color for Level.TRACE log level.

Returns:
Color for Level.TRACE log level.

getColorDebug

public static Color getColorDebug()
Get Color for Level.DEBUG log level.

Returns:
Color for Level.DEBUG log level.

getColorInfo

public static Color getColorInfo()
Get Color for Level.INFO log level.

Returns:
Color for Level.INFO log level.

getColorWarn

public static Color getColorWarn()
Get Color for Level.WARN log level.

Returns:
Color for Level.WARN log level.

getColorError

public static Color getColorError()
Get Color for Level.FATAL log level.

Returns:
Color for Level.FATAL log level.

getColorFatal

public static Color getColorFatal()
Get Color for Level.FATAL log level.

Returns:
Color for Level.FATAL log level.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011