org.apache.ws.jaxme.logging
public abstract class LoggerFactoryImpl extends Object implements LoggerFactory
Default implementation of a LoggerFactory. The default implementation holds an internal Map of Loggers.
Method Summary | |
---|---|
Logger | getLogger(String pName) Returns a Logger with the name |
abstract Logger | newLogger(String pName) Creates a new Logger with the given name. |
Returns a Logger with the name pName
.
If the internal Map of loggers already contains a Logger
with name pName
, returns that one. Otherwise creates
a new instance by calling newLogger, stores
the instance in the internal Map and returns it.