public class LogHandler extends Handler
Modifier and Type | Field and Description |
---|---|
private StringBuilder |
messages |
private JTextComponent |
textOutput |
Constructor and Description |
---|
LogHandler(JTextComponent textOutput) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
private String |
parseRecord(LogRecord record) |
void |
publish(LogRecord arg0) |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
private JTextComponent textOutput
private StringBuilder messages
public LogHandler(JTextComponent textOutput)
public void close() throws SecurityException
close
in class Handler
SecurityException