public class Log4jLoggerPlugin extends Object implements org.jboss.logging.LoggerPlugin, org.jboss.logging.NDCSupport, org.jboss.logging.MDCSupport
Logger,
LoggerPlugin| Constructor and Description |
|---|
Log4jLoggerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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) |
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) |
org.apache.log4j.Category |
getCategory() |
org.apache.log4j.Logger |
getLogger()
Exposes the delegate Log4j Logger.
|
org.jboss.logging.MDCProvider |
getMDCProvider() |
org.jboss.logging.NDCProvider |
getNDCProvider() |
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) |
void |
init(String name) |
boolean |
isDebugEnabled()
Deprecated.
|
boolean |
isInfoEnabled()
Deprecated.
|
boolean |
isTraceEnabled() |
void |
log(org.apache.log4j.Level l,
Object message)
Issue a log msg with the given level.
|
void |
log(org.apache.log4j.Level l,
Object message,
Throwable t)
Issue a log msg with the given level.
|
void |
log(org.apache.log4j.Priority p,
Object message)
Deprecated.
Use Level versions.
|
void |
log(org.apache.log4j.Priority p,
Object message,
Throwable t)
Deprecated.
Use Level versions.
|
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) |
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) |
public void init(String name)
init in interface org.jboss.logging.LoggerPluginpublic org.apache.log4j.Category getCategory()
public org.apache.log4j.Logger getLogger()
public boolean isTraceEnabled()
isTraceEnabled in interface org.jboss.logging.LoggerPluginpublic void trace(Object message)
trace in interface org.jboss.logging.LoggerPluginpublic void trace(Object message, Throwable t)
trace in interface org.jboss.logging.LoggerPluginpublic void trace(String loggerFcqn, Object message, Throwable t)
trace in interface org.jboss.logging.LoggerPlugin@Deprecated public boolean isDebugEnabled()
isDebugEnabled in interface org.jboss.logging.LoggerPlugintrace(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void debug(Object message)
debug in interface org.jboss.logging.LoggerPluginpublic void debug(Object message, Throwable t)
debug in interface org.jboss.logging.LoggerPluginpublic void debug(String loggerFcqn, Object message, Throwable t)
debug in interface org.jboss.logging.LoggerPlugin@Deprecated public boolean isInfoEnabled()
isInfoEnabled in interface org.jboss.logging.LoggerPlugininfo(Object) method invocation would pass
the msg to the configured appenders, false otherwise.public void info(Object message)
info in interface org.jboss.logging.LoggerPluginpublic void info(Object message, Throwable t)
info in interface org.jboss.logging.LoggerPluginpublic void info(String loggerFcqn, Object message, Throwable t)
info in interface org.jboss.logging.LoggerPluginpublic void warn(Object message)
warn in interface org.jboss.logging.LoggerPluginpublic void warn(Object message, Throwable t)
warn in interface org.jboss.logging.LoggerPluginpublic void warn(String loggerFcqn, Object message, Throwable t)
warn in interface org.jboss.logging.LoggerPluginpublic void error(Object message)
error in interface org.jboss.logging.LoggerPluginpublic void error(Object message, Throwable t)
error in interface org.jboss.logging.LoggerPluginpublic void error(String loggerFcqn, Object message, Throwable t)
error in interface org.jboss.logging.LoggerPluginpublic void fatal(Object message)
fatal in interface org.jboss.logging.LoggerPluginpublic void fatal(Object message, Throwable t)
fatal in interface org.jboss.logging.LoggerPluginpublic void fatal(String loggerFcqn, Object message, Throwable t)
fatal in interface org.jboss.logging.LoggerPluginpublic void log(org.apache.log4j.Priority p,
Object message)
p - the prioritymessage - the messagepublic void log(org.apache.log4j.Priority p,
Object message,
Throwable t)
p - the prioritymessage - the messaget - the throwablepublic void log(org.apache.log4j.Level l,
Object message)
l - the levelmessage - the messagepublic void log(org.apache.log4j.Level l,
Object message,
Throwable t)
l - the levelmessage - the messaget - the throwablepublic org.jboss.logging.NDCProvider getNDCProvider()
getNDCProvider in interface org.jboss.logging.NDCSupportpublic org.jboss.logging.MDCProvider getMDCProvider()
getMDCProvider in interface org.jboss.logging.MDCSupportCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.