public class ControlPanelLog extends Object
| Constructor and Description |
|---|
ControlPanelLog() |
| 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 |
initPackage(String packageName)
Writes messages under a given package in the file handler defined when
calling initLogFileHandler.
|
static boolean |
isInitialized()
Indicates whether or not the log file has been initialized.
|
public ControlPanelLog()
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 initPackage(String packageName) throws IOException
packageName - the package name.IOException - if something goes wrongpublic static File getLogFile()
public static boolean isInitialized()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.