|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlog2.LoggerFactory
org.jlog2.CustomLoggerFactory
public class CustomLoggerFactory
This class is an implementation of the logger factory to return the default logger functionality. You can implement your own version instead.
Field Summary |
---|
Fields inherited from class org.jlog2.LoggerFactory |
---|
debugChannels, debugLevel, logChannels, logLevel, propsParser |
Constructor Summary | |
---|---|
CustomLoggerFactory()
Creates a new instance of CustomLoggerFactory. |
Method Summary | |
---|---|
protected java.util.Vector |
getDebugChannels()
Create and store any new debug channels associated with the new log id. |
protected java.util.Vector |
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. |
Methods inherited from class org.jlog2.LoggerFactory |
---|
getAllDebugChannels, getAllLogChannels, getDebugLevel, getInstance, getLogLevel, resetChannels, setDebugLevel, setLoggerFactory, setLogLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomLoggerFactory() throws java.lang.Exception
java.lang.Exception
- any error.Method Detail |
---|
public Logger getLoggerInstance(java.lang.String loggerID)
getLoggerInstance
in class LoggerFactory
loggerID
- the id to identify one logger from another.
protected java.util.Vector getLogChannels()
getLogChannels
in class LoggerFactory
protected java.util.Vector getDebugChannels()
getDebugChannels
in class LoggerFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |