public class LogMgr
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEBUG
DEBUG logging level
|
static int |
ERROR
ERROR logging level
|
static int |
INFO
INFO logging level
|
protected static org.apache.commons.logging.Log |
log
the log
|
static int |
OFF
OFF logging level
|
static int |
SEVERE
SEVERE logging level
|
static int |
WARNING
WARNING logging level
|
Constructor and Description |
---|
LogMgr()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
logMsg(int level,
java.lang.String msg)
If the logging level specified is greater than or equal to the current logging level we log
the message otherwise nothing is logged.
|
protected static org.apache.commons.logging.Log log
public static final int DEBUG
public static final int INFO
public static final int WARNING
public static final int ERROR
public static final int SEVERE
public static final int OFF
public void logMsg(int level, java.lang.String msg)
level
- the logging level for the message
(0=OFF,1=SEVERE,2=ERROR,4=WARNING,6=INFO,8=DEBUG)msg
- the message to logCopyright © 2018 DS Data Systems UK Ltd.