de.jtem.jrworkspace.logging
Class LoggingSystem
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
public static final Logger LOGGER
LoggingSystem
public LoggingSystem()
jTEM