Article View: borland.public.jbuilder.java.api
Article #2082File and line number
From: Steve Holt
Date: Thu, 07 Jun 2001 07:40
Date: Thu, 07 Jun 2001 07:40
3 lines
1094 bytes
1094 bytes
When creating a log file for my application I want to output the file and line number where the logging takes place. How can I do this without hard coding?
Technical Details
Message-ID:
<3b1f2fee$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,a0235f9f622697c7,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-06-07 00:55:35 PST Reply-To: "Steve Holt" <Steve_Holt@PortaSystems.co.uk> From: "Steve Holt" <Steve_Holt@PortaSystems.co.uk> Newsgroups: borland.public.jbuilder.java.api Subject: File and line number Date: Thu, 7 Jun 2001 08:40:26 +0100 Lines: 5 Organization: PortaSystems Ltd X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 194.217.118.116 Message-ID: <3b1f2fee$1_2@dnews> X-Trace: dnews 991899630 194.217.118.116 (7 Jun 2001 00:40:30 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews