Print a string into the log file if and only if logging is active
setActive
public static synchronized void setActive(boolean value) throws IOException(Code)
Turn the logging on or off.
The first time logging is turned on it will create the log file.
Parameters: value - when value is true it will turn the logging on, if it is false it will turn the logging off.
setFilename
public static synchronized void setFilename(String value)(Code)
set the name of the log file.
This method allows you to set the name of the log file.
Note- Once the log file is open you can not change the
name.
Parameters: value - name of the log file.