Error logging service
To record errors generated by PowerBuilder objects running
in a transaction server to a log file, create an instance of the
ErrorLogging service object and invoke its log method. For example:
|
1 |
ErrorLogging erlinfo_base |
|
1 |
this.GetContextService("ErrorLogging", & |
|
1 |
   erlinfo_base) |
|
1 |
erlinfo_base.log("Write this string to log") |
The errors are recorded in the EAServer log
if the component is running in EAServer,
and in the Windows system application log if the component is running
in COM+.
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest