public class LocLoggerFactory
extends java.lang.Object
LoggerFactory producing
LocLogger instances.
Contrary to LoggerFactory.getLogger(String) method of
LoggerFactory, each call to getLocLogger(String) produces a new
instance of LocLogger. This should not matter because a LocLogger
instance does have any state beyond that of the Logger instance it
wraps and its message conveyor.
| Modifier and Type | Field and Description |
|---|---|
(package private) ch.qos.cal10n.IMessageConveyor |
imc |
| Constructor and Description |
|---|
LocLoggerFactory(ch.qos.cal10n.IMessageConveyor imc) |
| Modifier and Type | Method and Description |
|---|---|
LocLogger |
getLocLogger(java.lang.Class<?> clazz)
Get a new LocLogger instance by class.
|
LocLogger |
getLocLogger(java.lang.String name)
Get an LocLogger instance by name.
|
public LocLogger getLocLogger(java.lang.String name)
name - public LocLogger getLocLogger(java.lang.Class<?> clazz)
clazz -