public class XLoggerFactory extends Object
LoggerFactory
producing XLogger
instances.
Contrary to LoggerFactory.getLogger(String)
method of
LoggerFactory
, each call to getXLogger(String)
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.
Constructor and Description |
---|
XLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
static XLogger |
getXLogger(Class<?> clazz)
Get a new XLogger instance by class.
|
static XLogger |
getXLogger(String name)
Get an XLogger instance by name.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.