org.slf4j.ext

Class XLoggerFactory

public class XLoggerFactory extends Object

This class is essentially a wrapper around an LoggerFactory producing XLogger instances.

Contrary to getLogger method of LoggerFactory, each call to getXLogger produces a new instance of XLogger. This should not matter because an XLogger instance does not have any state beyond that of the Logger instance it wraps.

Author: Ralph Goers Ceki Gülcü

Method Summary
static XLoggergetXLogger(String name)
Get an XLogger instance by name.

Method Detail

getXLogger

public static XLogger getXLogger(String name)
Get an XLogger instance by name.

Parameters: name

Returns:

Copyright © 2005-2010 QOS.ch. All Rights Reserved.