Class TLcdJULLoggerFactory

java.lang.Object
com.luciad.util.logging.TLcdJULLoggerFactory
All Implemented Interfaces:
ILcdLoggerFactory

public class TLcdJULLoggerFactory extends Object implements 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:

ILcdLoggerJUL level
traceFINEST
debugFINE
infoINFO
warnWARNING
errorSEVERE
Since:
9.0
See Also:
  • Constructor Details

    • TLcdJULLoggerFactory

      public TLcdJULLoggerFactory()
      Default constructor.
  • Method Details

    • getLogger

      public ILcdLogger getLogger(String aLoggerName)
      Description copied from interface: ILcdLoggerFactory
      Creates or returns a logger with the given name.
      Specified by:
      getLogger in interface ILcdLoggerFactory
      Parameters:
      aLoggerName - the name of the logger to create.
      Returns:
      the logger.
    • getLogger

      public ILcdLogger getLogger(Class aClass)
      Description copied from interface: ILcdLoggerFactory
      Creates or returns a logger having the same name as the given class.
      Specified by:
      getLogger in interface ILcdLoggerFactory
      Parameters:
      aClass - the class for which to create a logger.
      Returns:
      the logger.