Class LogEventGroup
-
- All Implemented Interfaces:
public final class LogEventGroupAn abstraction to keep related events of the same type together. Corresponds to the LogEventGroup from the schema module. A group can either report state- or counter-events. Use a state group for information about the application state, e.g which libraries are configured, user's local environment, OS, JVM, etc. Use a counter group for information about users/internal actions.
-
-
Constructor Summary
Constructors Constructor Description LogEventGroup(String id, Integer version, Boolean state)
-
Method Summary
-
-
Method Detail
-
getId
final String getId()
Name of the group. It should be a noun, prefer short but explanatory ids (e.g notifications, actions).
-
getVersion
final Integer getVersion()
Version is used to track changes in a group, you should increment the version when you change anything in the group (add/delete/change events or their fields).
-
-
-
-