LogOperation (TdbfEventLog)
class procedure LogOperation(iEvent:Integer; const iInformations:String);
Cette méthode de classe permet d'enregistrer une opération. Une opération est un évènement dont le code opération es normalisé.
| Paramètre | Usage |
|---|---|
| iEvent | identifiant de l'opération |
| iInformations | Informaions complémentaires |
Exemple :
function logOperation(iCode:Integer; const iInformations:string):boolean;
begin
ClassManager.beginTran;
try
TdbfEventLog.logOperation(iCode,iInformations);
Result := ClassManager.Commit;
except
ClassManager.RollBack;
end;
end;
Voir aussi :