[Nitro] Logger

TRANS transfire at gmail.com
Thu Aug 25 22:24:10 EDT 2005


Thanks!

On 8/25/05, Mark Probert <probertm at acm.org> wrote:
> On Thu, 2005-08-25 at 20:08 -0400, TRANS wrote:
> > Moin, Could someone explain what this logger is doing the sets it
> > apart from the original?
> >
> 
> It overrides the Logger class and changes the default format, and
> trace() methods.  In addition, it turns Logger into a singleton, which
> kinds of hoses having your own logger(s) present.
> 
> So, making it a GlueLogger < Logger gets around this.  All of the Og and
> Glue classes can be happy with this new behaviour, and we can still have
> normal loggers elsewhere.
> 
> The debate in c.l.r is about overriding standard class methods and
> behaviour.  Extending is okay, IMO, modifying is another issue.
> 
> In George's defence, I think that he took the code from someone else.
> Given the gift he has given us with Nitro and Og, this is a small price
> to pay ;-)
> 
> Regards,
> 
> 
> --
> -mark.  (probertm at acm dot org)
> 
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
> 


-- 
( o _  カラチ
 //    trans.
/ \    transfire at gmail.com



More information about the Nitro-general mailing list