public class AntProjectLoggerFactory extends LoggerFactoryImpl
A LoggerFactory logging via an Ant project.
Constructor and Description |
---|
AntProjectLoggerFactory(org.apache.tools.ant.Task pTask)
Creates a new logger factory for the given task.
|
Modifier and Type | Method and Description |
---|---|
Logger |
newLogger(java.lang.String pName)
Creates a new
Logger with the given name. |
getLogger
public AntProjectLoggerFactory(org.apache.tools.ant.Task pTask)
public Logger newLogger(java.lang.String pName)
LoggerFactoryImpl
Creates a new Logger
with the given name. The logger
will be added to an internal Map
and the next call to
LoggerFactoryImpl.getLogger(String)
with the same name will return
this Logger
.
newLogger
in class LoggerFactoryImpl