public abstract class AbstractLoggerFactory extends Object implements LoggerFactory
Constructor and Description |
---|
AbstractLoggerFactory() |
Modifier and Type | Method and Description |
---|---|
protected abstract Logger |
createLogger(String absoluteLoggerName,
String bundleName,
ClassLoader loader)
Create a new Logger.
|
protected String |
getAbsoluteLoggerName(String relativeLoggerName) |
protected String |
getDomainRoot() |
protected static Logger |
getErrorLogger()
Get the error logger which is used to log things during creation of
loggers.
|
Logger |
getLogger(String relativeLoggerName,
String bundleName,
ClassLoader loader)
Get a Logger.
|
protected static Logger getErrorLogger()
public Logger getLogger(String relativeLoggerName, String bundleName, ClassLoader loader)
getLogger
in interface LoggerFactory
relativeLoggerName
- the relative name of this loggerbundleName
- the fully qualified name of the resource bundleloader
- the class loader used to load the resource bundle, or nullprotected abstract Logger createLogger(String absoluteLoggerName, String bundleName, ClassLoader loader)
absoluteLoggerName
- the absolute name of this loggerbundleName
- the fully qualified name of the resource bundleloader
- the class loader used to load the resource bundle, or nullprotected String getDomainRoot()
Copyright © 2019. All rights reserved.