martin.common
Class Loggers
java.lang.Object
martin.common.Loggers
public class Loggers
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Loggers
public Loggers()
millisToString
private static java.lang.String millisToString(long millis)
getDefaultConsoleHandler
private static java.util.logging.Handler getDefaultConsoleHandler()
getDefaultFormatter
private static java.util.logging.Formatter getDefaultFormatter()
getDefaultFileFormatter
private static java.util.logging.Formatter getDefaultFileFormatter()
getDefaultFileLogger
public static java.util.logging.Logger getDefaultFileLogger(java.io.File file)
getDefaultLogger
public static java.util.logging.Logger getDefaultLogger(ArgParser ap)
configureLogger
public static void configureLogger(java.util.logging.Logger logger,
ArgParser ap)