public class Log4jLoggerPluginInstance
extends org.jboss.logging.AbstractLoggerPluginInstance
implements org.jboss.logging.LoggerPluginInstance
Logger
,
LoggerPlugin
Constructor and Description |
---|
Log4jLoggerPluginInstance(String name,
String resourceBundleName,
org.jboss.logging.LoggerPlugin loggerPlugin) |
Modifier and Type | Method and Description |
---|---|
org.apache.log4j.Category |
getCategory() |
org.apache.log4j.Logger |
getDelegateLogger()
Exposes the delegate Log4j Logger.
|
boolean |
isEnabled(org.jboss.logging.Logger.Level level) |
protected void |
log(org.jboss.logging.Logger.Level level,
String loggerFqcn,
String message,
Throwable t) |
getLogger, getLoggerPlugin, log, logf
public org.apache.log4j.Category getCategory()
public org.apache.log4j.Logger getDelegateLogger()
public boolean isEnabled(org.jboss.logging.Logger.Level level)
isEnabled
in interface org.jboss.logging.LoggerPluginInstance
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.