public final class JLabelHandler
extends java.util.logging.Handler
| Modifier and Type | Class and Description |
|---|---|
static class |
JLabelHandler.JLabelFormatter |
| Constructor and Description |
|---|
JLabelHandler()
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.JLabel jLabel) |
public JLabelHandler()
public static void setupLoggerHandler(javax.swing.JLabel jLabel)
jLabel - Setup logging for this jLabel.public void publish(java.util.logging.LogRecord logRecord)
publish in class java.util.logging.Handlerpublic void close()
close in class java.util.logging.Handlerpublic void flush()
flush in class java.util.logging.Handlerpublic void setLevel(java.util.logging.Level newLevel)
setLevel in class java.util.logging.Handler