Function

on-emit

Called when a log is emitted.

on-emit: func(data: log-record);