LogEvent (TdbfEventLog)
class procedure LogEvent(iCode:Integer; const iCaption:String; const iInformations:String);
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 :
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;
Voir aussi :