See: Description
Interface | Description |
---|---|
ILcdLogger |
Logging interface for LuciadLightspeed.
|
ILcdLoggerFactory |
Allows plugging in a logging framework into LuciadLightspeed.
|
Class | Description |
---|---|
TLcdJULFileHandler |
A
Handler that logs all messages to a file. |
TLcdJULLoggerFactory |
This logger factory creates
ILcdLogger instances that delegate
to the standard Java logging framework from the java.util.logging
(JUL) package. |
TLcdJULSimpleFormatter |
A formatter for
LogRecord messages. |
TLcdLoggerFactory |
This class creates instances of the
ILcdLogger interface. |
TLcdMBeanPerformanceLogHandler |
A log Handler that expects LogRecords containing timing information in the
form of MBean components.
|
TLcdNullLoggerFactory |
This logger factory returns
ILcdLogger instances that discard
all messages. |
TLcdSimpleLoggerFactory |
This logger factory returns
ILcdLogger instances that handles
only informational, warning and error messages and discard the others. |
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.