|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.clientlogging.LogMgr
public class LogMgr
Manages the logging of messages from the client applications - the "clients" are any users of the KonaKart APIs.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
LogMgr()
Constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public LogMgr()
| Method Detail |
|---|
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 log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||