Clear

$

log


->Clear
([

filename

])

Writes the current event log to the file filename (if supplied), and clears the event log.