|
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 |
public interface LoggerPluginInstance
Defines a "pluggable" login module's logger implementation.
Logger
,
NullLoggerPluginInstance
Method Summary | |
---|---|
Logger |
getLogger()
Get the logger API instance associated with this plugin instance. |
LoggerPlugin |
getLoggerPlugin()
|
boolean |
isEnabled(Logger.Level level)
Determine whether logging is enabled for the given level. |
void |
log(Logger.Level level,
String loggerFqcn,
Object message,
Object[] params,
Throwable t)
Log a message at the given level using messageformat formatting. |
void |
logf(Logger.Level level,
String loggerFqcn,
String format,
Object[] params,
Throwable t)
Log a message at the given level using printf formatting. |
Method Detail |
---|
LoggerPlugin getLoggerPlugin()
Logger getLogger()
boolean isEnabled(Logger.Level level)
level
- the level
false
if logging is disabled, or true
if logging is enabled or cannot be ascertainedvoid log(Logger.Level level, String loggerFqcn, Object message, Object[] params, Throwable t)
level
- the levelloggerFqcn
- the fully qualified class namemessage
- the messageparams
- the message parameters or null
if nonet
- the throwable cause or null
if nonevoid logf(Logger.Level level, String loggerFqcn, String format, Object[] params, Throwable t)
level
- the levelloggerFqcn
- the fully qualified class nameformat
- the message formatparams
- the message parameters or null
if nonet
- the throwable cause or null
if none
|
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 |