jrworkspace by
jTEM

de.jtem.jrworkspace.logging
Class LoggingSystem

java.lang.Object
  extended by de.jtem.jrworkspace.logging.LoggingSystem

public class LoggingSystem
extends Object

LoggingSystem for de.jtem.jrworkspace. To log a massage use

LoggingSystem.LOGGER.log()
or any of the convenience log level methods. The jrworkspace LoggingSystem uses the ConsoleHandler by default. To use a FileHandler as well set the system property:
-Dde.jtem.jrworkspace.logfile="mylogfile"
Both handlers are set to handle ALL logs. The logger uses the default loglevel, but you may change the log Level by LoggingSystem.LOGGER.setLevel or set the the system property
-Dde.jtem.jrworkspace.loglevel=LEVEL

Author:
G. Paul Peters, Feb 12, 2010
See Also:
Logger, Level

Field Summary
static Logger LOGGER
           
 
Constructor Summary
LoggingSystem()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

public static final Logger LOGGER
Constructor Detail

LoggingSystem

public LoggingSystem()

jrworkspace by
jTEM

jTEM