scistag.vislog.visual_log_service.VisualLogService¶
- class VisualLogService(log)[source]¶
Bases:
objectHosts the VisualLog as web service and enables the user to interact with the data.
- Parameters
log (
VisualLog) – Defines the log which is being hosted
Methods
Returns the most recent index.html
Returns the log's process id :return: The log's process ID
Returns the most recent liveView.html :return:
Is called when an event is triggered.
Attributes
__dict____doc____module____weakref__list of weak references to the object (if defined)
The log we are hosting
- trigger_event(*args, **params)[source]¶
Is called when an event is triggered.
Adds the event the log’s event list and handled it upon the next re-execution.
- Parameters
params – The query parameters
- log¶
The log we are hosting