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 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
| 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 Handler
flush
public void flush()
- Specified by:
flush in class Handler
handle
public void handle(Throwable throwable)
- Handles AWT errors or anything else that comes down the line.
- Parameters:
throwable - the Throwable instance to handle
log
public void log(Level level,
String catalog,
String msg,
Throwable throwable)
publish
public void publish(LogRecord LOGRecord)
- Specified by:
publish in class Handler
Copyright © 1999-2010 Melloware Inc. All Rights Reserved.