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


Groups > comp.lang.clipper.visual-objects > #5412

Re: Edit VOError.log file

From Karl Wochele <kw@e﹐s-system.dot.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Edit VOError.log file
Date 2013-06-27 10:53 +0200
Message-ID <b32crhF7iu1U1@mid.individual.net> (permalink)
References <53ebe4b8-8594-4bf5-b26a-d055323665c3@googlegroups.com>

Show all headers | View raw


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
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web