🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2083

Re: File and line number

#2083
From: Steve Holt
Date: Thu, 07 Jun 2001 08:30
9 lines
1303 bytes
I've found out how to the the file (well actually the class name) but still
don't have a clue how to get the lione number.
"Steve Holt" <Steve_Holt@PortaSystems.co.uk> wrote in message
news:3b1f2fee$1_2@dnews...
> 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: <3b1f3bb7$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3b1f2fee$1_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,a0235f9f622697c7
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-06-07 01:35:17 PST
Reply-To: "Steve Holt" <Steve_Holt@PortaSystems.co.uk>
From: "Steve Holt" <Steve_Holt@PortaSystems.co.uk>
Newsgroups: borland.public.jbuilder.java.api
References: <3b1f2fee$1_2@dnews>
Subject: Re: File and line number
Date: Thu, 7 Jun 2001 09:30:42 +0100
Lines: 11
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: <3b1f3bb7$1_1@dnews>
X-Trace: dnews 991902647 194.217.118.116 (7 Jun 2001 01:30:47 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews