|
|||||||||
| 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 LoggerPluginname - the namepublic boolean isTraceEnabled()
LoggerPlugin
isTraceEnabled in interface LoggerPluginLoggerPlugin.trace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void trace(Object message)
LoggerPlugin
trace in interface LoggerPluginmessage - the message
public void trace(Object message,
Throwable t)
LoggerPlugin
trace in interface LoggerPluginmessage - the messaget - the throwable
public void trace(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
trace in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwable@Deprecated public boolean isDebugEnabled()
LoggerPlugin
isDebugEnabled in interface LoggerPluginLoggerPlugin.trace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void debug(Object message)
LoggerPlugin
debug in interface LoggerPluginmessage - the message
public void debug(Object message,
Throwable t)
LoggerPlugin
debug in interface LoggerPluginmessage - the messaget - the throwable
public void debug(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
debug in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwable@Deprecated public boolean isInfoEnabled()
LoggerPlugin
isInfoEnabled in interface LoggerPluginLoggerPlugin.info(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void info(Object message)
LoggerPlugin
info in interface LoggerPluginmessage - the message
public void info(Object message,
Throwable t)
LoggerPlugin
info in interface LoggerPluginmessage - the messaget - the throwable
public void info(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
info in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwablepublic void error(Object message)
LoggerPlugin
error in interface LoggerPluginmessage - the message
public void error(Object message,
Throwable t)
LoggerPlugin
error in interface LoggerPluginmessage - the messaget - the throwable
public void error(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
error in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwablepublic void fatal(Object message)
LoggerPlugin
fatal in interface LoggerPluginmessage - the message
public void fatal(Object message,
Throwable t)
LoggerPlugin
fatal in interface LoggerPluginmessage - the messaget - the throwable
public void fatal(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
fatal in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwablepublic void warn(Object message)
LoggerPlugin
warn in interface LoggerPluginmessage - the message
public void warn(Object message,
Throwable t)
LoggerPlugin
warn in interface LoggerPluginmessage - the messaget - the throwable
public void warn(String loggerFcqn,
Object message,
Throwable t)
LoggerPlugin
warn in interface LoggerPluginloggerFcqn - the logger class namemessage - the messaget - the throwable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||