public class TLcdNullLoggerFactory extends Object implements ILcdLoggerFactory
ILcdLogger
instances that discard
all messages. This may be useful to maximize the performance of the
application.ILcdLogger
Constructor and Description |
---|
TLcdNullLoggerFactory()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ILcdLogger |
getLogger(Class aClass)
Creates or returns a logger having the same name as the given class.
|
ILcdLogger |
getLogger(String aLoggerName)
Creates or returns a logger with the given name.
|
public ILcdLogger getLogger(String aLoggerName)
ILcdLoggerFactory
getLogger
in interface ILcdLoggerFactory
aLoggerName
- the name of the logger to create.public ILcdLogger getLogger(Class aClass)
ILcdLoggerFactory
getLogger
in interface ILcdLoggerFactory
aClass
- the class for which to create a logger.