| Constructor and Description |
|---|
Log4jWrapper(Logger log) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object m)
Logs the message m with debug priority.
|
void |
debug(Object m,
Throwable t) |
void |
error(Object m)
Logs the message m with error priority.
|
void |
error(Object m,
Throwable t) |
void |
fatal(Object m)
Logs the message m with fatal priority.
|
void |
fatal(Object m,
Throwable t) |
protected Level |
getLevel(Level p) |
void |
info(Object m)
Logs the message m with info priority.
|
void |
info(Object m,
Throwable t) |
boolean |
isDebugEnabled()
Returns true if for this category (Logger), a call to debug (or
trace) would do something.
|
boolean |
isEnabledFor(Level l) |
boolean |
isServiceEnabled()
Returns true if for this category (Logger), a call to service
(or debug or trace) would do something.
|
boolean |
isTraceEnabled()
Returns true if for this category (Logger), a call to trace
would do something.
|
void |
service(Object m)
Logs the message m with service priority.
|
void |
service(Object m,
Throwable t) |
void |
setLevel(Level p)
If you want to override the level in the configuration file
fixed for this category, you can do it with this method.
|
String |
toString() |
void |
trace(Object m)
Logs the message m with trace priority.
|
void |
trace(Object m,
Throwable t) |
void |
warn(Object m)
Logs the message m with warn priority.
|
void |
warn(Object m,
Throwable t) |
public Log4jWrapper(Logger log)
public final void trace(Object m)
Loggertrace in interface LoggerLogger.debug(Object)public final void debug(Object m)
Loggerpublic final void service(Object m)
Loggerpublic final void info(Object m)
Loggerpublic final void warn(Object m)
Loggerpublic final void error(Object m)
Loggerpublic final void fatal(Object m)
Loggerpublic final boolean isTraceEnabled()
LoggerisTraceEnabled in interface Loggerpublic final boolean isDebugEnabled()
LoggerisDebugEnabled in interface Loggerpublic final boolean isServiceEnabled()
LoggerisServiceEnabled in interface Loggerpublic final void setLevel(Level p)
Loggerpublic final boolean isEnabledFor(Level l)
isEnabledFor in interface LoggerMMBase2 Utils 2.0.0 - 2019-08-08T23:20