JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

org.jboss.logging
Class NullLoggerPlugin

java.lang.Object
  extended by org.jboss.logging.NullLoggerPlugin
All Implemented Interfaces:
LoggerPlugin

public class NullLoggerPlugin
extends Object
implements LoggerPlugin

The null logger plugin.


Field Summary
static LoggerPlugin INSTANCE
           
 
Constructor Summary
NullLoggerPlugin()
           
 
Method Summary
 LoggerPluginInstance getInstance(String name, String resourceBundleName)
          Get a logger plugin instance with the given name.
 MDCProvider getMDCProvider()
          
 NDCProvider getNDCProvider()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final LoggerPlugin INSTANCE
Constructor Detail

NullLoggerPlugin

public NullLoggerPlugin()
Method Detail

getInstance

public LoggerPluginInstance getInstance(String name,
                                        String resourceBundleName)
Get a logger plugin instance with the given name. The returned instance may be a cached or newly created instance.

Specified by:
getInstance in interface LoggerPlugin
Parameters:
name - the logger category name
resourceBundleName - the resource bundle name
Returns:
the corresponding logger plugin instance

getMDCProvider

public MDCProvider getMDCProvider()


getNDCProvider

public NDCProvider getNDCProvider()


JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

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