Interface TracingLogger.Event
- All Known Implementing Classes:
MsgTraceEvent
,ServerTraceEvent
- Enclosing class:
- TracingLogger
public static interface TracingLogger.Event
Type of event.
-
Method Details
-
name
String name()Name of event, should be unique. Is logged by JDK logger.- Returns:
- event name.
-
category
String category()Category of event, more events share same category. Is used to format response HTTP header.- Returns:
- event category.
-
level
TracingLogger.Level level()Level of event. Is used to check if the event is logged according to application/request settings.- Returns:
- event trace level.
-
messageFormat
String messageFormat()Message format. UseString.format(String, Object...)
format. Can be null. In that case message arguments are separated by space.- Returns:
- message format
-