public class QuickSetupLog extends Object
Constructor and Description |
---|
QuickSetupLog() |
Modifier and Type | Method and Description |
---|---|
static File |
getLogFile()
Gets the name of the log file.
|
static void |
initLogFileHandler(File file)
Creates a new file handler for writing log messages to the file indicated
by
file . |
static void |
initLogFileHandler(File file,
String packageName)
Creates a new file handler for writing log messages of a given package to
the file indicated by
file . |
static boolean |
isInitialized()
Indicates whether or not the log file has been initialized.
|
public QuickSetupLog()
public static void initLogFileHandler(File file) throws IOException
file
.file
- log file to which log messages will be writtenIOException
- if something goes wrongpublic static void initLogFileHandler(File file, String packageName) throws IOException
file
.file
- log file to which log messages will be written.packageName
- the name of the package of the classes that generate log messages.IOException
- if something goes wrongpublic static File getLogFile()
public static boolean isInitialized()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.