|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LoggerPlugin
Defines a "pluggable" login module. In fact, this is only used to split between log4j and /dev/null. Choice is made in org.jboss.logging.Logger
Logger,
NullLoggerPlugin| Method Summary | |
|---|---|
void |
debug(Object message)
Issue a log msg with a level of DEBUG. |
void |
debug(Object message,
Throwable t)
Issue a log msg and throwable with a level of DEBUG. |
void |
error(Object message)
Issue a log msg with a level of ERROR. |
void |
error(Object message,
Throwable t)
Issue a log msg and throwable with a level of ERROR. |
void |
fatal(Object message)
Issue a log msg with a level of FATAL. |
void |
fatal(Object message,
Throwable t)
Issue a log msg and throwable with a level of FATAL. |
void |
info(Object message)
Issue a log msg with a level of INFO. |
void |
info(Object message,
Throwable t)
Issue a log msg and throwable with a level of INFO. |
void |
init(String name)
Initialise the logger with the given name |
boolean |
isDebugEnabled()
Deprecated. DEBUG is for low volume logging, you don't need this |
boolean |
isInfoEnabled()
Deprecated. INFO is for low volume information, you don't need this |
boolean |
isTraceEnabled()
Check to see if the TRACE level is enabled for this logger. |
void |
trace(Object message)
Issue a log msg with a level of TRACE. |
void |
trace(Object message,
Throwable t)
Issue a log msg and throwable with a level of TRACE. |
void |
warn(Object message)
Issue a log msg with a level of WARN. |
void |
warn(Object message,
Throwable t)
Issue a log msg and throwable with a level of WARN. |
| Method Detail |
|---|
void init(String name)
name - the nameboolean isTraceEnabled()
trace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.void trace(Object message)
message - the message
void trace(Object message,
Throwable t)
message - the messaget - the throwableboolean isDebugEnabled()
trace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.void debug(Object message)
message - the message
void debug(Object message,
Throwable t)
message - the messaget - the throwableboolean isInfoEnabled()
info(Object) method invocation would pass
the msg to the configured appenders, false otherwise.void info(Object message)
message - the message
void info(Object message,
Throwable t)
message - the messaget - the throwablevoid warn(Object message)
message - the message
void warn(Object message,
Throwable t)
message - the messaget - the throwablevoid error(Object message)
message - the message
void error(Object message,
Throwable t)
message - the messaget - the throwablevoid fatal(Object message)
message - the message
void fatal(Object message,
Throwable t)
message - the messaget - the throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||