|
JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.logging.AbstractLoggerPluginInstance
public abstract class AbstractLoggerPluginInstance
An abstract base class for logger plugin instances.
| Constructor Summary | |
|---|---|
protected |
AbstractLoggerPluginInstance(String name,
String resourceBundleName,
LoggerPlugin loggerPlugin)
Construct a new instance. |
| Method Summary | |
|---|---|
Logger |
getLogger()
Get the logger API instance associated with this plugin instance. |
LoggerPlugin |
getLoggerPlugin()
|
void |
log(Logger.Level level,
String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Log a message at the given level using messageformat formatting. |
protected void |
log(Logger.Level level,
String loggerFqcn,
String message,
Throwable t)
Simple log method. |
void |
logf(Logger.Level level,
String loggerFqcn,
String format,
Object[] params,
Throwable t)
Log a message at the given level using printf formatting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.logging.LoggerPluginInstance |
|---|
isEnabled |
| Constructor Detail |
|---|
protected AbstractLoggerPluginInstance(String name,
String resourceBundleName,
LoggerPlugin loggerPlugin)
name - the logger nameresourceBundleName - the resource bundle nameloggerPlugin - | Method Detail |
|---|
public LoggerPlugin getLoggerPlugin()
getLoggerPlugin in interface LoggerPluginInstancepublic Logger getLogger()
getLogger in interface LoggerPluginInstance
public void logf(Logger.Level level,
String loggerFqcn,
String format,
Object[] params,
Throwable t)
logf in interface LoggerPluginInstancelevel - the levelloggerFqcn - the fully qualified class nameformat - the message formatparams - the message parameters or null if nonet - the throwable cause or null if none
public void log(Logger.Level level,
String loggerFqcn,
Object message,
Object[] params,
Throwable t)
log in interface LoggerPluginInstancelevel - the levelloggerFqcn - the fully qualified class namemessage - the messageparams - the message parameters or null if nonet - the throwable cause or null if none
protected void log(Logger.Level level,
String loggerFqcn,
String message,
Throwable t)
level - the levelloggerFqcn - the logger class namemessage - the log messaget - the throwable cause
|
JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||