|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.mewt.Logger
public class Logger
The Class Logger.
Field Summary | |
---|---|
static int |
CONFIG
The Constant CONFIG. |
static int |
DEBUG
The Constant DEBUG. |
static int |
INFO
The Constant INFO. |
static int |
SEVERE
The Constant SEVERE. |
static int |
WARNING
The Constant WARNING. |
Constructor Summary | |
---|---|
Logger(java.lang.String name)
Instantiates a new logger. |
Method Summary | |
---|---|
void |
config(java.lang.String msg)
Config. |
void |
debug(java.lang.String msg)
Debug. |
int |
getLevel()
Gets the level. |
void |
info(java.lang.String msg)
Info. |
void |
log(int level,
java.lang.String msg)
Log. |
void |
setLevel(int level)
Sets the level. |
void |
severe(java.lang.String msg)
Severe. |
void |
severe(java.lang.Throwable t)
Severe. |
void |
warning(java.lang.String msg)
Warning. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SEVERE
public static final int WARNING
public static final int INFO
public static final int CONFIG
public static final int DEBUG
Constructor Detail |
---|
public Logger(java.lang.String name)
name
- the nameMethod Detail |
---|
public int getLevel()
public void setLevel(int level)
level
- the new levelpublic void log(int level, java.lang.String msg)
level
- the levelmsg
- the msgpublic void severe(java.lang.String msg)
msg
- the msgpublic void warning(java.lang.String msg)
msg
- the msgpublic void info(java.lang.String msg)
msg
- the msgpublic void config(java.lang.String msg)
msg
- the msgpublic void debug(java.lang.String msg)
msg
- the msgpublic void severe(java.lang.Throwable t)
t
- the t
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |