public final class TextAreaHandler
extends java.util.logging.Handler
Constructor and Description |
---|
TextAreaHandler()
Include filtering mechanism as it is not included in the (lame) Abstract
Handler class.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
void |
publish(java.util.logging.LogRecord logRecord) |
void |
setLevel(java.util.logging.Level newLevel)
Must capture level to use in our custom filter, because this is not done
in the abstract class.
|
static void |
setupLoggerHandler(javax.swing.JTextArea logJTextArea) |
public TextAreaHandler()
public static void setupLoggerHandler(javax.swing.JTextArea logJTextArea)
logJTextArea
- setup logging for a JTextareapublic void publish(java.util.logging.LogRecord logRecord)
publish
in class java.util.logging.Handler
public void close()
close
in class java.util.logging.Handler
public void flush()
flush
in class java.util.logging.Handler
public void setLevel(java.util.logging.Level newLevel)
setLevel
in class java.util.logging.Handler