org.yasl.logging.impl
Class YASLLoggerFactory
java.lang.Object
org.yasl.logging.impl.YASLLoggerFactory
- All Implemented Interfaces:
- IYASLLoggerFactory
- public class YASLLoggerFactory
- extends Object
- implements IYASLLoggerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YASLLoggerFactory
public YASLLoggerFactory()
addLoggerFactoryListener
public void addLoggerFactoryListener(YASLLoggerFactoryListener listener)
- Specified by:
addLoggerFactoryListener
in interface IYASLLoggerFactory
removeLoggerFactoryListener
public void removeLoggerFactoryListener(YASLLoggerFactoryListener listener)
- Specified by:
removeLoggerFactoryListener
in interface IYASLLoggerFactory
getNameToLoggerMap
public Map getNameToLoggerMap()
- Returns an unmodifiable view of the loggers that the
factory has created and the names that each logger is
associated with.
- Specified by:
getNameToLoggerMap
in interface IYASLLoggerFactory
- Returns:
- Map
getLogFileName
public String getLogFileName()
- Returns the path and name of the logfile being used.
- Specified by:
getLogFileName
in interface IYASLLoggerFactory
- Returns:
- String
getLogger
public Logger getLogger(String name)
- Return an appropriate
Logger
instance as specified by the
name
parameter.
- Parameters:
name
- the name of the Logger to return
- Returns:
- Logger