Skip to content

TEventLog.EventTypeToString

Create a string representation of an event type.

Declaration

Source position: eventlog.pp line 96

public 
function TEventLog.EventTypeToString(E: TEventType) : string;

Description

EventTypeToString converts the event type E to a suitable string representation for logging purposes. It's mainly used when writing messages to file, as the system log usually has it's own mechanisms for displaying the various event types.

See also

Name Description
#rtl.sysutils.TEventType