org.quattor.pan
Class CompilerLogging

java.lang.Object
  extended by org.quattor.pan.CompilerLogging

public class CompilerLogging
extends java.lang.Object


Nested Class Summary
static class CompilerLogging.LoggingType
          This enumeration identifies the types of logging that can be turned or off.
 
Method Summary
static void activateLoggers(java.lang.String loggerList)
          Enable the given types of logging.
static void setLogFile(java.io.File logfile)
          Define the file that will contain the logging information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

activateLoggers

public static void activateLoggers(java.lang.String loggerList)
Enable the given types of logging. Note that NONE will take precedence over active logging flags and turn all logging off. Illegal logging values will be silently ignored.

Parameters:
loggerList - a comma-separated list of logging types to enable

setLogFile

public static void setLogFile(java.io.File logfile)
Define the file that will contain the logging information. If this is called with null, then the log file will be removed. The log file and logging parameters are global to the JVM. Interference is possible between multiple threads.

Parameters:
logfile -


Copyright © 2011 Quattor. All Rights Reserved.