LogEvent (TdbfEventLog)
<source lang='delphi'>class procedure LogEvent(iCode:Integer; const iCaption:String; const iInformations:String);</source>
Cette méthode de classe permet d'enregistrer un évènement.
Paramètre | Usage |
---|---|
iCode | Code de l'évènement |
iCaption | Libellé de l'évènement |
iInformations | Informaions complémentaires |
Exemple : <source lang=delphi> function logEvent(iCode:Integer; const iCaption:string; const iInformations:string):boolean; begin
ClassManager.beginTran; try TdbfEventLog.logEvent(iCode,iCaption,iInformations); Result := ClassManager.Commit; except ClassManager.RollBack; end;
end; </source>
Voir aussi :
{{#if:TdbfEventLog (Class)|
{{#if:TdbfEventLog (Class)|— TdbfEventLog (Class) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}