Package com.luciad.util.logging
Class TLcdJULLoggerFactory
java.lang.Object
com.luciad.util.logging.TLcdJULLoggerFactory
- All Implemented Interfaces:
ILcdLoggerFactory
This logger factory creates
ILcdLogger instances that delegate
to the standard Java logging framework from the java.util.logging
(JUL) package.
Each ILcdLogger log level has a corresponding JUL level:
| ILcdLogger | JUL level |
|---|---|
| trace | FINEST |
| debug | FINE |
| info | INFO |
| warn | WARNING |
| error | SEVERE |
- Since:
- 9.0
- See Also:
-
Constructor Summary
Constructors -
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
-
TLcdJULLoggerFactory
public TLcdJULLoggerFactory()Default constructor.
-
-
Method Details
-
getLogger
Description copied from interface:ILcdLoggerFactoryCreates or returns a logger with the given name.- Specified by:
getLoggerin interfaceILcdLoggerFactory- Parameters:
aLoggerName- the name of the logger to create.- Returns:
- the logger.
-
getLogger
Description copied from interface:ILcdLoggerFactoryCreates or returns a logger having the same name as the given class.- Specified by:
getLoggerin interfaceILcdLoggerFactory- Parameters:
aClass- the class for which to create a logger.- Returns:
- the logger.
-