RE: [reSIProcate] Output Log to Visual C++'s Debug window
Derek,
Now for the sake of simplicity, I just use
resip::Log::Cout.
The user uses it as follow:
int level=(int)Log::Debug;
Log::initialize(Log::Cout, (resip::Log::Level)level,
"MA");
and define WIN32_DEBUG_WINDOWS in the preprocessor.
kaiduan
--- Derek MacDonald <derek@xxxxxxxx> wrote:
> How would one select the debug window as the output?
> Being able to turn it
> on as well as it logging to cerr/logfile/etc would
> be great.
>
> > -----Original Message-----
> > From:
> resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-
> > devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> kaiduan xie
> > Sent: Monday, November 08, 2004 3:51 PM
> > To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: [reSIProcate] Output Log to Visual C++'s
> Debug window
> >
> > Hi, all,
> >
> > I added some code to Logger.cxx and Logger.hxx so
> that
> > the Log can be output to Debug window in Visual
> C++
> > environment while debugging DUM-based application
> > (with the help of OutputDebugStringA() function).
> I
> > hope this will faciliate the debugging for Debug
> > version. Can I contribute this?
> >
> > Thanks,
> >
> > kaiduan
> >
> >
>
______________________________________________________________________
> > Post your free ad now! http://personals.yahoo.ca
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> >
>
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>
>
>
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca