log rollcase - part-cw/lambdanative GitHub Wiki
(log-rollcase store)
log-rollcase is used for rolling logfiles at start of cases. This is useful for a separating logfiles of each case without terminating the application.
Parameter | Description |
---|---|
store | Data store name |
Example
Example 1: Main loop function of a data logging application, which rotates it logfile at the start and end of each case.
;; events
(lambda (t x y)
(log-rollcase store)
(scheduler-iterate)
(thread-sleep! 0.005)
)