public class SimLibFormatter
extends java.util.logging.Formatter
Constructor and Description |
---|
SimLibFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record) |
protected double |
roundDouble(double in) |
static void |
setupAsFormatterForANewRootConsoleHandler()
Same as
setupAsFormatterForANewRootConsoleHandler(Level level)
with the default log level "FINE" |
static void |
setupAsFormatterForANewRootConsoleHandler(java.util.logging.Level level)
Setups a new ConsoleHandler and sets the log level accordingly.
|
public static void setupAsFormatterForANewRootConsoleHandler()
setupAsFormatterForANewRootConsoleHandler(Level level)
with the default log level "FINE"public static void setupAsFormatterForANewRootConsoleHandler(java.util.logging.Level level)
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
protected double roundDouble(double in)