JBoss Logging JDK 2.2.0.CR2-SNAPSHOT

org.jboss.logging.jdk
Class JDK14LoggerPluginInstance

java.lang.Object
  extended by org.jboss.logging.AbstractLoggerPluginInstance
      extended by org.jboss.logging.jdk.JDK14LoggerPluginInstance
All Implemented Interfaces:
org.jboss.logging.LoggerPluginInstance

public class JDK14LoggerPluginInstance
extends org.jboss.logging.AbstractLoggerPluginInstance
implements org.jboss.logging.LoggerPluginInstance

An example LoggerPlugin which uses the JDK java.util.logging framework.

Version:
$Revison:$
Author:
Scott.Stark@jboss.org, David M. Lloyd

Constructor Summary
JDK14LoggerPluginInstance(String name, String resourceBundleName, org.jboss.logging.LoggerPlugin loggerPlugin)
           
 
Method Summary
 boolean isEnabled(org.jboss.logging.Logger.Level level)
           
 void log(org.jboss.logging.Logger.Level level, String loggerFqcn, Object message, Object[] params, Throwable t)
           
protected  void log(org.jboss.logging.Logger.Level level, String loggerFqcn, String message, Throwable t)
           
 
Methods inherited from class org.jboss.logging.AbstractLoggerPluginInstance
getLogger, getLoggerPlugin, logf
 
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
getLogger, getLoggerPlugin, logf
 

Constructor Detail

JDK14LoggerPluginInstance

public JDK14LoggerPluginInstance(String name,
                                 String resourceBundleName,
                                 org.jboss.logging.LoggerPlugin loggerPlugin)
Method Detail

isEnabled

public boolean isEnabled(org.jboss.logging.Logger.Level level)
Specified by:
isEnabled in interface org.jboss.logging.LoggerPluginInstance

log

public void log(org.jboss.logging.Logger.Level level,
                String loggerFqcn,
                Object message,
                Object[] params,
                Throwable t)
Specified by:
log in interface org.jboss.logging.LoggerPluginInstance
Overrides:
log in class org.jboss.logging.AbstractLoggerPluginInstance

log

protected void log(org.jboss.logging.Logger.Level level,
                   String loggerFqcn,
                   String message,
                   Throwable t)
Overrides:
log in class org.jboss.logging.AbstractLoggerPluginInstance

JBoss Logging JDK 2.2.0.CR2-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.