Description

Clears the log file.

Return Type

None  

Syntax

object.Clear

The Clear Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McEventLog.

Remarks

For mcelOS logging, you must have administrator rights to the computer on which the log resides in order to clear event log entries.