Synopsis Log the start of an event (it is ended by another event
or by endJob
).
Function -
void event(str name)
-
void event(str name, int inc)
-
void event(int inc)
Usage import util::Monitor;
Description The various forms of
event
behave as follows:
- Log the start of an event.
- Log the start of an event with the amount of work that will be done when it's finished. An event is finished when the next event is logged, or when endJob is called.
- Log the start of an event with the amount of work that will be done when it's finished. An event is finished when the next event is logged, or when endJob is called.