events
Event telemetry management.
Attributes
mlogger = logger.get_logger(__name__)
module-attribute
ALL_EVENTS = 340282366920938463463374607431768211455
module-attribute
SUGGESTED_EVENTS = 31988513242969
module-attribute
Functions
register_event_telemetry(handler, flags)
Registers application event telemetry handlers based on given flags.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
handler |
EventTelemetry
|
event telemetry handler |
required |
flags |
int
|
event flags |
required |
Source code in pyrevitlib/pyrevit/telemetry/events.py
unregister_event_telemetry(handler, flags)
Unregisters application event telemetry handlers based on given flags.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
handler |
EventTelemetry
|
event telemetry handler |
required |
flags |
int
|
event flags |
required |