wei.core.events
Contains the Events class for logging experiment steps
Functions
|
Sends an event to the server to be logged |
Classes
Registers Events during the Experiment execution in a logfile, in Redis, and (if use_diaspora is true) on Kafka |
- class wei.core.events.EventHandler
Registers Events during the Experiment execution in a logfile, in Redis, and (if use_diaspora is true) on Kafka
- classmethod initialize_diaspora() bool
Initializes the Kafka producer and creates the topic if it doesn’t exist already