public class Log
extends java.lang.Object
Constructor and Description |
---|
Log() |
Modifier and Type | Method and Description |
---|---|
static void |
addConsoleOutput()
Adds the console output to the log.
|
static void |
addFileOutput(java.lang.String fileName)
Adds the file output to the log.
|
static void |
closeFileHandlers()
Closes all file handlers which are associated with the Retrascope root logger.
|
static java.util.logging.Logger |
getLogger()
Returns the root logger.
|
static java.util.logging.Logger |
getLogger(java.lang.Class<?> component)
Returns the component logger.
|
static void |
setLevel(java.util.logging.Level level)
Sets the log level.
|
public static java.util.logging.Logger getLogger()
public static java.util.logging.Logger getLogger(java.lang.Class<?> component)
component
- the component class.public static void setLevel(java.util.logging.Level level)
level
- the log level to be set.public static void addConsoleOutput()
public static void addFileOutput(java.lang.String fileName)
fileName
- the name of the file to log to.public static void closeFileHandlers()