public class LogManagement extends Object
LogManagement.isConfigInitialized() ;
but this code is not necessary in application code (since the Logger calls
fire the load-time operation).| Modifier and Type | Field and Description |
|---|---|
static ErrorManager |
ERROR_MANAGER
a simple global ErrorManager that print logging framework problems to the console.
|
| Constructor and Description |
|---|
LogManagement() |
| Modifier and Type | Method and Description |
|---|---|
static Level |
cleanConsole()
if a System Class Loader loads the standard LOgManager and the manager reads
the standard "loggin.properties" and initialize the Handlers we may end up with
two different Console Handlers.
|
static boolean |
isConfigInitialized()
dummy static method to fire the load-time operation.
|
static void |
setDefaultConsoleHandler(Level consoleLevel)
to be used by some non-graphic codes
|
public static final ErrorManager ERROR_MANAGER
public static boolean isConfigInitialized()
public static Level cleanConsole()
public static void setDefaultConsoleHandler(Level consoleLevel)
consoleLevel - //TODO: deprecate this method?Copyright © 2015 LSST. All rights reserved.