Package org.moeaframework.util.io
Class OutputHandler
java.lang.Object
java.util.logging.Handler
java.util.logging.StreamHandler
org.moeaframework.util.io.OutputHandler
Java Logging
Handler
with some more sensible defaults (in my opinion), including (1) sending logs to
System.out
instead of System.err
, and (2) using a shorter, single line format.-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.logging.StreamHandler
flush, isLoggable, setEncoding, setOutputStream
Methods inherited from class java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel
-
Constructor Details
-
OutputHandler
public OutputHandler()
-
-
Method Details
-
updateConfiguration
public static void updateConfiguration(boolean force) -
getLogger
-
publish
- Overrides:
publish
in classStreamHandler
-
close
public void close()- Overrides:
close
in classStreamHandler
-