Guidewire intentional logging uses all of the following concepts:
| Logging category |
Logging categories map to various application components, such as a job
process (JOB_PROCESS). |
| Logging marker |
Logging markers associate a text string with a specific business or
application event, such as the string WEB_LOGIN with a user
logging into the application. |
| Logging profiler tag |
Logging profiler tags use the Guidewire Profiler mechanism to write
information to the application logs. |
The following table summarizes these concepts.
| Term |
Type |
Class |
Example |
| Logging category |
org.slf4j.Logger |
PCLoggerCategory |
PCLoggerCategory.JOB_PROCESS |
| Logging marker |
org.slf4j.Marker |
PLLoggingMarker |
PLLoggingMarker.WEB_LOGIN |
| Logging marker |
org.slf4j.Marker |
PCLoggingMarker |
PCLoggingMarker.SUBMISSION |
| Logging profiler tag |
LoggableProfilerTag |
LoggableProfilerTag |
new LoggableProfilerTag("custom_tag) |