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


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

Re: Edit VOError.log file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Karl Wochele <kw@e﹐s-system.dot.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Edit VOError.log file
Date Thu, 27 Jun 2013 10:53:05 +0200
Lines 34
Message-ID <b32crhF7iu1U1@mid.individual.net> (permalink)
References <53ebe4b8-8594-4bf5-b26a-d055323665c3@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net czgR8qmzYkApJSn28S5BcA7pye1fIL0Os+dfaylHQjoR6TiSxt
Cancel-Lock sha1:3em3UWMj+Ssbu2ZTSdJ/wJQq00o=
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
In-Reply-To <53ebe4b8-8594-4bf5-b26a-d055323665c3@googlegroups.com>
Xref csiph.com comp.lang.clipper.visual-objects:5412

Show key headers only | 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