public class LoggingUtils
public static void setupLogging()
Sends all logging messages (including log4j) to standard out. The logging level will be INFO, unless executed by the GUI and the user preference has been set level to DEBUG.
public static void setupDebugLogging()
Sends all logging messages (including log4j) to standard out. The logging level will be DEBUG.
public static void setupLogging(java.io.PrintStream stream)
Sends all logging messages (including log4j) to specified PrintStream. The logging level will be INFO, unless executed by the GUI and the user preference has been set level to DEBUG. This is used to direct logging messages to the GUI.
stream - streampublic static void setupDebugLogging(java.io.PrintStream stream)
Sends all logging messages (including log4j) to specified PrintStream. The logging level will be DEBUG. This is used to direct logging messages to the GUI.
stream - public static void setupLogfile(java.lang.String logFileName)
Sends all logging messages (including log4j) to specified file. The logging level will be INFO, unless executed by the GUI and the user preference has been set level to DEBUG.
logFileName - file nameFileNotFoundExceptionpublic static void setupDebugLogfile(java.lang.String logFileName)
Sends all logging messages (including log4j) to specified file. The logging level will be DEBUG.
logFileName - file nameFileNotFoundExceptionpublic static void setupStdOutLogging()
public static void closeLogfile()
public static void setupLoggingOff()
Turns off logging