Sign in Join
FPDoc Onlineexperiment

DebugMessageName function

In unit DbugMsg

Return the name of the debug message.

Declaration

pascal
function DebugMessageName(msgType: Integer): string

Arguments

msgType

Message type.

Function result

String describing the message type.

Description

DebugMessageName returns the name of the message type. It can be used to examine the MsgType field of a TDebugMessage record, and if msgType contains a known type, it returns a string describing this type.

Errors

If MsgType contains an unknown type, 'Unknown' is returned.

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