Logging categories and logging markers
- Guidewire uses logging categories for component-based logging.
- Guidewire uses logging markers for event-based logging.
Component-based logging
Guidewire uses logging categories to manage and format multiple log messages produced by a particular software component. For example, it is possible to log actions related to rule execution, or, to log all actions related to application users.
Guidewire defines the various types of logging categories in public classes PCLoggerCategory. The class defines the logging categories as constants that you can access as PCLoggerCategory.CONSTANT. For example, you can access logging information associated with forms as PCLoggerCategory.FORMS.
For more information on logging categories, see Logging in Guidewire PolicyCenter.
Business event logging
Guidewire associates a single specific marker type with a specific business event. For
example, Guidewire associates marker type WEB_LOGIN with a user logging
into PolicyCenter.
- Read-only class PLLoggingMarker
- Public class PCLoggingMarker
Each class defines the marker types as constants that you access as PLLoggingMarker.MARKER_TYPE or PCLoggingMarker.MARKER_TYPE. For example, you access a user log out event as PLLoggingMarker.WEB_LOGOUT.
For more information on logging markers, see PolicyCenter business event logging.
