EventLogger
- class negmas.events.EventLogger(file_name: str | Path, types: list[str] | None = None)[source]
Bases:
EventSinkLogs events to a file
- Parameters:
file_name – Name of the file to save events into
types – The types of events to save. If None, all events will be saved
Methods Summary
on_event(event, sender[, ...])Methods Documentation
- on_event(event: Event, sender: EventSource, python_class_identifier='__python_class__')[source]