Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5410 > unrolled thread
| Started by | Lu <lu2k@hotmail.com> |
|---|---|
| First post | 2013-06-27 01:19 -0700 |
| Last post | 2013-06-27 06:29 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Edit VOError.log file Lu <lu2k@hotmail.com> - 2013-06-27 01:19 -0700
Re: Edit VOError.log file Karl Wochele <kw@e©os-system.dot.de> - 2013-06-27 10:53 +0200
Re: Edit VOError.log file Lu <lu2k@hotmail.com> - 2013-06-27 06:29 -0700
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-06-27 01:19 -0700 |
| Subject | Edit VOError.log file |
| Message-ID | <53ebe4b8-8594-4bf5-b26a-d055323665c3@googlegroups.com> |
Hi VO experts! How is it possible to put some additional informations in the VOError.log file. For example username, hostname or something like this, because the __WriteErrorLog function is write protected. Thanks in advance for any hints. Lu
[toc] | [next] | [standalone]
| From | Karl Wochele <kw@e©os-system.dot.de> |
|---|---|
| Date | 2013-06-27 10:53 +0200 |
| Message-ID | <b32crhF7iu1U1@mid.individual.net> |
| In reply to | #5410 |
Hi Lu,
you could include the following in your application:
PROCEDURE MyErrorSys _INIT2
ErrorBlock( {|oError|MyDefError(oError)} )
RETURN
STATIC FUNCTION MyDefError(oError AS Error) AS USUAL PASCAL
LOCAL uRet AS USUAL
// Here you can do whatever you want...
// You might check ErrorSys() in the VO-Help
// and "Error and Exception Handling" chapter in the Programmer's Guide
for more information
return uRet
HTH
Karl
Am 27.06.2013 10:19, schrieb Lu:
> Hi VO experts!
>
> How is it possible to put some additional informations in the VOError.log file. For example username, hostname or something like this, because the __WriteErrorLog function is write protected.
>
> Thanks in advance for any hints.
> Lu
>
[toc] | [prev] | [next] | [standalone]
| From | Lu <lu2k@hotmail.com> |
|---|---|
| Date | 2013-06-27 06:29 -0700 |
| Message-ID | <5f851cf8-ced6-4b98-bc82-c4dabf6cdced@googlegroups.com> |
| In reply to | #5410 |
Thank you Karl that works perfect
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web