public class LocLoggerFactory extends 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.
Constructor and Description |
---|
LocLoggerFactory(ch.qos.cal10n.IMessageConveyor imc) |
Modifier and Type | Method and Description |
---|---|
LocLogger |
getLocLogger(Class<?> clazz)
Get a new LocLogger instance by class.
|
LocLogger |
getLocLogger(String name)
Get an LocLogger instance by name.
|
Copyright © 2005–2019 QOS.ch. All rights reserved.