public class LogHandler
extends java.util.logging.MemoryHandler
MemoryHandler
).
Since logging is necessarily a system-wide matter, this is a singleton class.
Modifier and Type | Method | Description |
---|---|---|
static LogHandler |
getInstance() |
Returns the sole instance of this class.
|
void |
showWindow(java.awt.Component parent) |
Displays a logging window which displays recent (the last 1000) and
any future log messages.
|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
public void showWindow(java.awt.Component parent)
parent
- parent component, may be used for positioningpublic static LogHandler getInstance()
Copyright ? 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.