LogEvent (TdbfEventLog)

De Wiki1000
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 :


TdbfEventLog (Class)Développement DSM





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Outils personnels