Package com.luciad.util.logging
This package contains classes used for logging messages.
Logging in LuciadLightspeed is performed using ILcdLogger instances.
Concrete ILcdLogger objects can be created using the class
TLcdLoggerFactory and then used for recording messages in a
specific way. See the latter class and the LuciadLightspeed developer's guide
on how to configure your own logging framework to work with LuciadLightspeed.
This package also offers some default logging factories and supporting handlers.
Some of these, such as TLcdJULLoggerFactory (which TLcdLoggerFactory uses by default),
make use of the standard Java logging framework from the java.util.logging
package.
This package also offers support to convert performance logging messages (e.g. for
painting and model decoding) to MBeans with the class TLcdMBeanPerformanceLogHandler
for use with, for example, JConsole. See the LuciadLightspeed developer's guide for more details on
performance logging.
- Since:
- 9.0
-
ClassDescriptionLogging interface for LuciadLightspeed.Allows plugging in a logging framework into LuciadLightspeed.A
Handlerthat logs all messages to a file.This logger factory createsILcdLoggerinstances that delegate to the standard Java logging framework from thejava.util.logging(JUL) package.A formatter forLogRecordmessages.Main entry point of all logging in LuciadLightspeed and LuciadFusion, delegating to a configuredILcdLoggerFactoryusing Java's services mechanism.A log handler that expects LogRecords containing timing information in the form of MBean components.This logger factory returnsILcdLoggerinstances that discard all messages.This logger factory returnsILcdLoggerinstances that handles only informational, warning and error messages and discard the others.