|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.logging.NullLoggerPlugin
public class NullLoggerPlugin
LoggerPlugin implementation producing no output at all. Used for client side logging when no log4j.jar is available on the classpath.
Logger
,
LoggerPlugin
Constructor Summary | |
---|---|
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 |
debug(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of DEBUG and a specific logger class name. |
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 |
error(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of ERROR and a specific logger class name. |
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 |
fatal(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of FATAL and a specific logger class name. |
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 |
info(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of INFO and a specific logger class name. |
void |
init(String name)
Initialise the logger with the given name |
boolean |
isDebugEnabled()
Deprecated. |
boolean |
isInfoEnabled()
Deprecated. |
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 |
trace(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of TRACE and a specific logger class name. |
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. |
void |
warn(String loggerFcqn,
Object message,
Throwable t)
Issue a log msg and throwable with a level of WARN and a specific logger class name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullLoggerPlugin()
Method Detail |
---|
public void init(String name)
LoggerPlugin
init
in interface LoggerPlugin
name
- the namepublic boolean isTraceEnabled()
LoggerPlugin
isTraceEnabled
in interface LoggerPlugin
LoggerPlugin.trace(Object)
method invocation would pass
the msg to the configured appenders, false otherwise.public void trace(Object message)
LoggerPlugin
trace
in interface LoggerPlugin
message
- the messagepublic void trace(Object message, Throwable t)
LoggerPlugin
trace
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void trace(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
trace
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public boolean isDebugEnabled()
LoggerPlugin
isDebugEnabled
in interface LoggerPlugin
LoggerPlugin.trace(Object)
method invocation would pass
the msg to the configured appenders, false otherwise.public void debug(Object message)
LoggerPlugin
debug
in interface LoggerPlugin
message
- the messagepublic void debug(Object message, Throwable t)
LoggerPlugin
debug
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void debug(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
debug
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwable@Deprecated public boolean isInfoEnabled()
LoggerPlugin
isInfoEnabled
in interface LoggerPlugin
LoggerPlugin.info(Object)
method invocation would pass
the msg to the configured appenders, false otherwise.public void info(Object message)
LoggerPlugin
info
in interface LoggerPlugin
message
- the messagepublic void info(Object message, Throwable t)
LoggerPlugin
info
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void info(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
info
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwablepublic void error(Object message)
LoggerPlugin
error
in interface LoggerPlugin
message
- the messagepublic void error(Object message, Throwable t)
LoggerPlugin
error
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void error(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
error
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwablepublic void fatal(Object message)
LoggerPlugin
fatal
in interface LoggerPlugin
message
- the messagepublic void fatal(Object message, Throwable t)
LoggerPlugin
fatal
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void fatal(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
fatal
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwablepublic void warn(Object message)
LoggerPlugin
warn
in interface LoggerPlugin
message
- the messagepublic void warn(Object message, Throwable t)
LoggerPlugin
warn
in interface LoggerPlugin
message
- the messaget
- the throwablepublic void warn(String loggerFcqn, Object message, Throwable t)
LoggerPlugin
warn
in interface LoggerPlugin
loggerFcqn
- the logger class namemessage
- the messaget
- the throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |