public class LocLoggerFactory extends Object
LoggerFactory
producing
LocLogger
instances.
Contrary to LoggerFactory.getLogger(String)
method of
LoggerFactory
, each call to getLocLogger
produces a new
instance of LocLogger
. This should not matter because a LocLogger
instance does have any state beyond that of the Logger
in stance 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 © 2016 JBoss by Red Hat. All rights reserved.