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
Handler
that logs all messages to a file.This logger factory createsILcdLogger
instances that delegate to the standard Java logging framework from thejava.util.logging
(JUL) package.A formatter forLogRecord
messages.This class creates instances of theILcdLogger
interface.A log Handler that expects LogRecords containing timing information in the form of MBean components.This logger factory returnsILcdLogger
instances that discard all messages.This logger factory returnsILcdLogger
instances that handles only informational, warning and error messages and discard the others.