Sign in Join
FPDoc Onlineexperiment

TPascalCodeGenerator.DoLog procedure

Member of TPascalCodeGeneratorprotectedIn unit PasCodeGen

Trigger log event

Declaration

pascal
procedure DoLog(const Msg: string; AType: TCodegenLogType=cltInfo)
procedure DoLog(const Fmt: string; Args: Array of const; 
 AType: TCodegenLogType=cltInfo)

Arguments

Msg

Log message or format string

AType

Type of log message

Fmt

Format string

Args

Format arguments

Description

DoLog triggers the OnLog event if an event handler is assigned. It supports both simple messages and formatted messages with arguments.

See also

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