Class IntentionalLoggerImpl
In the base configuration, Guidewire provides a default implementation class for the
IntentionalLogger interface named
IntentionalLoggerImpl. This class provides a way to take the passed-in
logging data and transform it into a shape that is consumable by
org.slf4j.Logger. The default class takes the passed-in logging data
and adds the following additional information:
- Event type
- Server ID
- Error type and message if logging an exception
Do not attempt to use this class directly. Instead, obtain an instance of an
IntentionalLogger object using the following static factory method:
- IntentionalLogger.from(logger)
