JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

org.jboss.logging
Interface LoggerPlugin

All Known Implementing Classes:
NullLoggerPlugin

public interface LoggerPlugin

A factory for producing logger plugins. Implementations may implement some type of caching/reuse.


Method Summary
 LoggerPluginInstance getInstance(String name, String resourceBundleName)
          Get a logger plugin instance with the given name.
 

Method Detail

getInstance

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.

Parameters:
name - the logger category name
resourceBundleName - the resource bundle name
Returns:
the corresponding logger plugin instance

JBoss Logging Programming Interface 2.2.0.CR2-SNAPSHOT

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