Sign in Join
FPDoc Onlineexperiment

TEventLog.EventTypeToString function

Member of TEventLogpublicIn unit EventLog

Create a string representation of an event type.

Declaration

pascal
function EventTypeToString(E: TEventType): string

Arguments

E

Event type to convert to string.

Function result

String representation of E.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.