Sign in Join
FPDoc Onlineexperiment

EventLog unit

Unit implementing system log class.

The EventLog unit implements the TEventLog component, which is a component that can be used to send log messages to the system log (if it is available) or to a file.

Classes and records

ELogErrorclassException raised on errors in the TEventLog component.
TEventLogclassEvent logging class.

Types

TLogCategoryEventprocedure typeCallback type to return custom category code.
TLogCodeEventprocedure typeCallback type to retrieve custom event codes.
TLogMessageEventprocedure typeCallback type for custom handling of log messages.
TLogTypeenumerationType of log.

Constants

AllEventsconstant

Resource strings

SErrLogFailedMsgresource stringMessage used to format an error when an error exception is raised.
SErrLogOpenStdErrresource stringError message if stdErr is not open for writing.
SErrLogOpenStdOutresource stringError message if stdOut is not open for writing.
SLogCustomresource stringCustom message formatting string.
SLogDebugresource stringDebug message name.
SLogErrorresource stringError message name.
SLogInforesource stringInformational message name.
SLogWarningresource stringWarning message name.

Uses

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