Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5410 > unrolled thread

Edit VOError.log file

Started byLu <lu2k@hotmail.com>
First post2013-06-27 01:19 -0700
Last post2013-06-27 06:29 -0700
Articles 3 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#5410 — Edit VOError.log file

FromLu <lu2k@hotmail.com>
Date2013-06-27 01:19 -0700
SubjectEdit 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]


#5412

FromKarl Wochele <kw@e©os-system.dot.de>
Date2013-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]


#5413

FromLu <lu2k@hotmail.com>
Date2013-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