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 and 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.
|
close, flush, getPushLevel, isLoggable, publish, push, setPushLevel
public void showWindow(java.awt.Component parent)
parent
- parent component, may be used for positioningpublic static LogHandler getInstance()
Copyright © 2003-2017 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.