Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LErrorLog property
Message
 
À
28/08/2002 16:04:50
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00694576
Message ID:
00694648
Vues:
14
Nerissa,

>It is a business object's property. So I assumed that it is used to log the errors that the business objects will return.

I see ...

This property is only used to tell the bizobj whether it should write an error to a logfile in text format. If you have a look at kbizobj::error() you see a call to THIS.LogError() at the end of the method code. In kbizobj::LogError() you then see STRTOFILE(tcError, "Error.txt", .T.). IMO this does only make sense when having bizobjs running as COM objects. It has nothing to do with the logging of errors in the errorlog table.

With the suggestion in my previous message you should achieve your goals. But I would be carefull turning the errorlog completely off. In a production environment the entries in the errorlog table might be very usefull to see what state your application was in, when an error occured. So maybe you want to add some additional code that only turns the error logging off when in debug mode (goApp.lDebugMode).

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform