textbender.g.util.logging
Class LoggerX

java.lang.Object
  extended by LoggerX

public final class LoggerX
extends Object

Logger utilities.


Field Summary
static Level ALL
           
static Level CONFIG
           
static Level FINE
           
static Level FINER
           
static Level FINEST
           
static Level INFO
           
static Level OFF
           
static Level SEVERE
           
static Level WARNING
           
 
Method Summary
static String contentString(Map map)
          Deprecated. 
static Logger i(Class cl)
          Returns the standard logger for a class.
static Logger i(String className)
          Returns the standard logger for a class name.
static void test(Logger logger)
          Logs test messages at all levels.
static void test(Logger logger, Level level)
          Logs a test message at the specified level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALL

public static final Level ALL

CONFIG

public static final Level CONFIG

FINE

public static final Level FINE

FINER

public static final Level FINER

FINEST

public static final Level FINEST

INFO

public static final Level INFO

OFF

public static final Level OFF

SEVERE

public static final Level SEVERE

WARNING

public static final Level WARNING
Method Detail

contentString

@Deprecated
public static String contentString(Map map)
Deprecated. 

Returns a string listing all key/value pairs in the specified map. The result is suitable for logging purposes, e.g. to record system properties in a log at start-up.


i

public static Logger i(Class cl)
Returns the standard logger for a class.


i

public static Logger i(String className)
Returns the standard logger for a class name.


test

public static void test(Logger logger,
                        Level level)
Logs a test message at the specified level.


test

public static void test(Logger logger)
Logs test messages at all levels.