Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

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)
)
Clone this wiki locally