public class Logger
extends java.lang.Object
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
void |
addAppender(LoggerAppender newAppender)
Method addAppender ...
|
void |
addLogOrigin(java.lang.Class origin)
Add the Class which serves as entry point for log message location.
|
void |
debug(java.lang.String message)
Method debug ...
|
void |
debug(java.lang.String message,
boolean v)
Method debug ...
|
void |
debug(java.lang.String message,
long v)
Method debug ...
|
void |
debug(java.lang.String message,
long v1,
long v2)
Method debug ...
|
void |
debug(java.lang.String message,
java.lang.Object o)
Method debug ...
|
void |
debug(java.lang.String message,
java.lang.String v)
Method debug ...
|
void |
debug(java.lang.String message,
java.lang.String v1,
java.lang.String v2)
Method debug ...
|
void |
debug(java.lang.String message,
java.lang.Throwable t)
Method debug ...
|
void |
debug(java.lang.Throwable t)
Method debug ...
|
void |
debugClassLoader(java.lang.String message,
java.lang.Object obj)
Method debugClassLoader ...
|
void |
error(java.lang.String message)
Method error ...
|
void |
error(java.lang.String message,
long v)
Method error ...
|
void |
error(java.lang.String message,
java.lang.String v)
Method error ...
|
void |
error(java.lang.String message,
java.lang.String v,
java.lang.Throwable t)
Method error ...
|
void |
error(java.lang.String message,
java.lang.Throwable t)
Method error ...
|
void |
error(java.lang.Throwable t)
Method error ...
|
void |
info(java.lang.String message)
Method info ...
|
void |
info(java.lang.String message,
java.lang.String data)
Method info ...
|
boolean |
isDebugEnabled()
Method isDebugEnabled returns the debugEnabled of this Logger object.
|
boolean |
isErrorEnabled()
Method isErrorEnabled returns the errorEnabled of this Logger object.
|
void |
rcConsole(java.lang.String message,
java.lang.String severityText)
Method rc gui console ...
|
void |
removeAppender(LoggerAppender appender)
Method removeAppender ...
|
void |
toggleDebug()
Method toggleDebug ...
|
void |
toggleError()
Method toggleError ...
|
void |
warn(java.lang.String message)
Method warn ...
|
public void toggleDebug()
public void toggleError()
public boolean isDebugEnabled()
public boolean isErrorEnabled()
public void debug(java.lang.String message)
message
- of type Stringpublic void debug(java.lang.String message, java.lang.Throwable t)
message
- of type Stringt
- of type Throwablepublic void debug(java.lang.Throwable t)
t
- of type Throwablepublic void debug(java.lang.String message, java.lang.String v)
message
- of type Stringv
- of type Stringpublic void debug(java.lang.String message, java.lang.Object o)
message
- of type Stringo
- of type Objectpublic void debug(java.lang.String message, java.lang.String v1, java.lang.String v2)
message
- of type Stringv1
- of type Stringv2
- of type Stringpublic void debug(java.lang.String message, long v)
message
- of type Stringv
- of type longpublic void debug(java.lang.String message, long v1, long v2)
message
- of type Stringv1
- of type longv2
- of type longpublic void debug(java.lang.String message, boolean v)
message
- of type Stringv
- of type booleanpublic void debugClassLoader(java.lang.String message, java.lang.Object obj)
message
- of type Stringobj
- of type Objectpublic void info(java.lang.String message)
message
- of type Stringpublic void info(java.lang.String message, java.lang.String data)
message
- of type Stringdata
- of type Stringpublic void warn(java.lang.String message)
message
- of type Stringpublic void error(java.lang.String message)
message
- of type Stringpublic void error(java.lang.String message, long v)
message
- of type Stringv
- of type longpublic void error(java.lang.String message, java.lang.String v)
message
- of type Stringv
- of type Stringpublic void error(java.lang.String message, java.lang.String v, java.lang.Throwable t)
message
- of type Stringv
- of type Stringt
- of type Throwablepublic void error(java.lang.Throwable t)
t
- of type Throwablepublic void error(java.lang.String message, java.lang.Throwable t)
message
- of type Stringt
- of type Throwablepublic void rcConsole(java.lang.String message, java.lang.String severityText)
message
- of type StringseverityText
- text describing severity of message,
in this case it's user settablepublic void addLogOrigin(java.lang.Class origin)
origin
- Classpublic void addAppender(LoggerAppender newAppender)
newAppender
- of type LoggerAppenderpublic void removeAppender(LoggerAppender appender)
appender
- of type LoggerAppender