[Overview][Resource strings][Types][Classes][Index] |
Log a message to the system log.
Source position: line 0
public procedure TEventLog.Log( |
EventType: TEventType; |
Msg: String |
); overload; |
EventType: TEventType; |
Fmt: String; |
Args: array of Const |
); overload; |
Msg: String |
); overload; |
Fmt: String; |
Args: array of Const |
); overload; |
EventType |
|
Event type to use. |
Msg |
|
Complete log message |
EventType |
|
Event type to use. |
Fmt |
|
Format string for Args |
Args |
|
Arguments to be formatted with Fmt |
Msg |
|
Complete log message |
Fmt |
|
Format string for Args |
Args |
|
Arguments to be formatted with Fmt |
Log sends a log message to the system log. The message is either the parameter Msg as is, or is formatted from the Fmt and Args parameters. If EventType is specified, then it is used as the message event type. If EventType is omitted, then the event type is determined from DefaultEventType.
If EventType is etCustom, then the OnGetCustomEvent, OnGetCustomEventID and OnGetCustomCategory.
The other logging calls: Info, Warning, Error and Debug use the Log call to do the actual work.
|
Log an informational message |
|
|
Log a warning message. |
|
|
Log an error message to |
|
|
Log a debug message |
|
|
Event to retrieve custom event Code |
|
|
Event to retrieve custom event ID |
|
|
Event to retrieve custom message category |
lazarus-ccr.sourceforge.net |