| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
hmi.util.LoggingHandler
public class LoggingHandler
Logging Handler that redirects logging messages to the hmi.util.Console
| Field Summary | |
|---|---|
private static Logger | 
topLevelLogger
 | 
| Constructor Summary | |
|---|---|
LoggingHandler()
Create a new LoggingHandler in java.util.logging style  | 
|
| Method Summary | |
|---|---|
 void | 
close()
java.util.logging.Handler method, but has no effect for this Class  | 
 void | 
flush()
java.util.logging.Handler method, but has no effect for this Class  | 
 void | 
publish(LogRecord rec)
Prints the LogRecord message on the Console  | 
 void | 
reportError(String error,
            Exception ex,
            int code)
Prints the error on the Console as well as to System.err  | 
static void | 
showLogging()
showLogging(true)  | 
static void | 
showLogging(boolean exclusiveMode)
 | 
| Methods inherited from class java.util.logging.Handler | 
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, setEncoding, setErrorManager, setFilter, setFormatter, setLevel | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private static Logger topLevelLogger
| Constructor Detail | 
|---|
public LoggingHandler()
| Method Detail | 
|---|
public void close()
close in class Handlerpublic void flush()
flush in class Handlerpublic void publish(LogRecord rec)
publish in class Handler
public void reportError(String error,
                        Exception ex,
                        int code)
reportError in class Handlerpublic static void showLogging()
public static void showLogging(boolean exclusiveMode)
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||