|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bankframe.ESystem
public class ESystem
This class is used to log messages and exceptions
Field Summary | |
---|---|
static int |
DEBUG
|
static int |
DEPRECATED
|
static int |
ERROR
|
static int |
INFO
|
static int |
WARNING
|
Constructor Summary | |
---|---|
ESystem()
|
Method Summary | |
---|---|
static void |
out(Exception ex)
This method logs the specifed exception to the specified log |
static void |
out(int level,
Exception ex)
This method logs the specifed exception to the specified log |
static void |
out(int level,
String msg)
This method prints the specified message to the specified log |
static void |
out(Object obj)
Deprecated. |
static void |
out(String msg)
This method prints the specified message to the specified log |
static void |
reset()
Deprecated. This method does nothing |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEBUG
public static final int INFO
public static final int WARNING
public static final int ERROR
public static final int DEPRECATED
Constructor Detail |
---|
public ESystem()
Method Detail |
---|
public static void out(int level, Exception ex)
level
- The log levelex
- The exception to logpublic static void out(int level, String msg)
level
- The log levelmsg
- The message to dump to the logpublic static void out(Exception ex)
ex
- The exception to logpublic static void out(Object obj)
obj
- Object The message to dump to the logpublic static void out(String msg)
msg
- The message to dump to the logpublic static void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |