com.melloware.jukes.gui.tool.logging
Class AwtLogHandler
java.lang.Object
java.util.logging.Handler
com.melloware.jukes.gui.tool.logging.AwtLogHandler
public final class AwtLogHandler
- extends java.util.logging.Handler
This class pops up message dialogs to LOG messages with
a level greater or equal to Level.warn. In addition,
a ConsoleHandler is used to write
all messages to the console, too. If any AWT or Java errors are trapped too.
Copyright (c) 1999-2007 Melloware, Inc.
- Version:
- 4.0
- Author:
- Emil A. Lefkof III
|
Method Summary |
void |
close()
|
void |
flush()
|
void |
handle(java.lang.Throwable throwable)
Handles AWT errors or anything else that comes down the line. |
void |
log(java.util.logging.Level level,
java.lang.String catalog,
java.lang.String msg,
java.lang.Throwable throwable)
|
void |
publish(java.util.logging.LogRecord LOGRecord)
|
| Methods inherited from class java.util.logging.Handler |
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AwtLogHandler
public AwtLogHandler()
- Constructor.
close
public void close()
- Specified by:
close in class java.util.logging.Handler
flush
public void flush()
- Specified by:
flush in class java.util.logging.Handler
handle
public void handle(java.lang.Throwable throwable)
- Handles AWT errors or anything else that comes down the line.
- Parameters:
throwable - the Throwable instance to handle
log
public void log(java.util.logging.Level level,
java.lang.String catalog,
java.lang.String msg,
java.lang.Throwable throwable)
publish
public void publish(java.util.logging.LogRecord LOGRecord)
- Specified by:
publish in class java.util.logging.Handler
Copyright © 1999-2008 Melloware Inc. All Rights Reserved.