Package com.luciad.util.logging
Class TLcdSimpleLoggerFactory
java.lang.Object
com.luciad.util.logging.TLcdSimpleLoggerFactory
- All Implemented Interfaces:
ILcdLoggerFactory
This logger factory returns
ILcdLogger
instances that handles
only informational, warning and error messages and discard the others. The
informational messages are written to the standard output stream.
The warning and error messages are written to the standard error stream.
See TLcdLoggerFactory
for how to enable this factory.
- Since:
- 9.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates or returns a logger having the same name as the given class.Creates or returns a logger with the given name.
-
Constructor Details
-
TLcdSimpleLoggerFactory
public TLcdSimpleLoggerFactory()Default constructor.
-
-
Method Details
-
getLogger
Description copied from interface:ILcdLoggerFactory
Creates or returns a logger with the given name.- Specified by:
getLogger
in interfaceILcdLoggerFactory
- Parameters:
aLoggerName
- the name of the logger to create.- Returns:
- the logger.
-
getLogger
Description copied from interface:ILcdLoggerFactory
Creates or returns a logger having the same name as the given class.- Specified by:
getLogger
in interfaceILcdLoggerFactory
- Parameters:
aClass
- the class for which to create a logger.- Returns:
- the logger.
-