RE: How to log under W2K
"Stephen F. Booth" <[email protected]> Fri, 25 Oct 2002 23:50:24 -0400
| Newsgroups | gmane.comp.gcc.cgicc.general |
|---|---|
| Message-ID | <000101c27ca2$d4804f00$7bd0be3f@hades> |
I'm trying to remember now why I sad gLogFile must be an ofstream. As far as I remember only the << operators are used, which should work for any ostream subclass. I guess I need to review if an ostream is allowed and then make the documentation clearer. -Stephen > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf > Of Alexander J. Oss > Sent: Friday, October 25, 2002 9:34 PM > To: [email protected] > Subject: Re: [help-cgicc] How to log under W2K > > If you take a look in CgiUtils.h, you'll see the line: > > extern STDNS ofstream gLogFile; > > If you look in the cgicc documentation under "cgicc File Members" for > definitions of LOG and LOGLN, it mentions that "The debugging log is a > user-specified ostream". > > I suspect all you need to do is define gLogFile as a global ofstream > somewhere. (Is that a documentation bug, when it says "ostream" rather > than > "ofstream"?) > > ----- Original Message ----- > From: <[email protected]> > To: <[email protected]> > Sent: Friday, October 25, 2002 11:57 AM > Subject: [help-cgicc] How to log under W2K > > > Hi all, > > I would like to enable logging under Windows 2000. I've therefore defined > DEBUG in the VC6 project for the compilation of the cgicc library, but > this > just results in an unresolved external symbol "(yadi yadi) gLogFile". I > assume > logging works under POSIX OSs where the lib is created with make, but how > is > that done under W2K ?!? > > TIA, > > CU Steve > > PS: I see from the mail archive that there was an issue with the VC .dsp > file. If that is still open, I would be happy to provide my project > file... > > -- > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! > > > > _______________________________________________ > help-cgicc mailing list > [email protected] > http://mail.gnu.org/mailman/listinfo/help-cgicc > > > > > _______________________________________________ > help-cgicc mailing list > [email protected] > http://mail.gnu.org/mailman/listinfo/help-cgicc