Article View: borland.public.cppbuilder.nativeapi
Article #5963Re: event logging for runtime debug
From: Robert G. Hoover
Date: Wed, 22 Jun 2005 13:32
Date: Wed, 22 Jun 2005 13:32
26 lines
1754 bytes
1754 bytes
I did a complete search of my computer and no tools5.hlp exists. Nor
does tools5.hpp... can you provide additional assistance?
Thanks,
Rob
Bob Gonder wrote:
> Robert G. Hoover wrote:
>
>
>>I'd like to be able to log the names of the functions. These calls
>>generate log entries with the MyForm->Name in them automaticaly. Is
>>there a way to get the name of the function I'm currently inside?
>>Something like...
>>
>>LogEvent(String("exiting ") + Name + "::" + FunctionName + "()...");
>
>
> See "Predefined macros" in the TOOLS5.HLP
> Specifically __FILE__ and __FUNC__
> There are others as well.
>
>
Technical Details
Message-ID:
<42b96877$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42b86886$1@newsgroups.borland.com> <00dhb119lk2dls4lh9tquqhmmsdlsdisgp@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,848a19c84e55796 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 22 Jun 2005 09:32:39 -0400 From: "Robert G. Hoover" <not.a.real.address@anywhere.sorry> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: event logging for runtime debug References: <42b86886$1@newsgroups.borland.com> <00dhb119lk2dls4lh9tquqhmmsdlsdisgp@4ax.com> In-Reply-To: <00dhb119lk2dls4lh9tquqhmmsdlsdisgp@4ax.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 68.48.159.204 Message-ID: <42b96877$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119447159 68.48.159.204 (22 Jun 2005 06:32:39 -0700) Lines: 26 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail