public class CustomLoggerFactory extends LoggerFactory
debugChannels, debugLevel, logChannels, logLevel, propsParser
Constructor and Description |
---|
CustomLoggerFactory()
Creates a new instance of CustomLoggerFactory.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.ArrayList<LogChannel> |
getDebugChannels()
Create and store any new debug channels associated with the new log id.
|
protected java.util.ArrayList<LogChannel> |
getLogChannels()
Create and store any new log channels associated with the new log id.
|
Logger |
getLoggerInstance(java.lang.String loggerID)
Create a new instance of Logger.
|
getAllDebugChannels, getAllLogChannels, getDebugLevel, getInstance, getLogLevel, resetChannels, setDebugLevel, setLoggerFactory, setLogLevel
public CustomLoggerFactory() throws java.lang.Exception
java.lang.Exception
- any error.public Logger getLoggerInstance(java.lang.String loggerID)
getLoggerInstance
in class LoggerFactory
loggerID
- the id to identify one logger from another.protected java.util.ArrayList<LogChannel> getLogChannels()
getLogChannels
in class LoggerFactory
protected java.util.ArrayList<LogChannel> getDebugChannels()
getDebugChannels
in class LoggerFactory