[Nitro] Logger

George Moschovitis george.moschovitis at gmail.com
Fri Aug 26 09:39:48 EDT 2005

The problem is that I DONT like to have GlueLogger all over the place...
I prefer the solution posted in the ruby-talk mailing list.


On 8/26/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


More information about the Nitro-general mailing list