RE: Tracing

Posted by Jens Thiel-2 on
URL: http://quantlib.414.s1.nabble.com/FdAmericanOption-problem-and-Tracing-tp3483p3493.html

Hi Luigi,

I know some companies using http://log4cpp.sourceforge.net/, modeled after
the similar Java library. Haven't used it personally, though.

Jens.


--
Jens Thiel
http://ManagedXLL.net/
+49 (228) 5400124


> -----Original Message-----
> From: [hidden email]
> [mailto:[hidden email]] On Behalf
> Of Luigi Ballabio
> Sent: Friday, January 14, 2005 4:37 PM
> To: Joseph Wang
> Cc: QuantLib users
> Subject: Re: [Quantlib-users] Tracing
>
>
> On 01/14/05 03:58:52, Joseph Wang wrote:
> >> Finally, I intentionally wrote a generic "tag" variable,
> as I'm not sure  
> >> whether a number or a string should be used. Thoughts?
> >
> > The way that java does it is to use integer constants.  
> This makes it
> > easier to compare and for example turn on all debug
> statements above  
> > level N or below level M.  If you set the integers to be
> constants, then  
> > you don't lose anything regarding readability.
>
> Yes, but it implies a total order. For logs it makes sense
> (error < warning < info...) but I was wondering whether one
> would possibly want to enable  
> tracing from two different parts of the library without the
> one necessarily  
> triggering the other as well...
>
> Later,
> Luigi
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from
> ThinkGeek. It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Quantlib-users mailing list [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>
>