[Rg 39] Re: Informer tags

Michael Fellinger m.fellinger at gmail.com
Wed Jun 20 13:52:40 EDT 2007


On 6/21/07, Lars Olsson <lasso at lassoweb.se> wrote:
> Hi!
>
> I'm planning to write a small patch for the Informer class to allow
> filtering (based on tag content). The Ramaze::Informer.inform method
> takas a tag as an argument and I've seen :info and :debug used so far.

:warn and :error are used... :warn very seldom but :error relatively
often (on errors ;)

> I'm wondering about what tags I might expect from Ramaze itself.
> (Looking at the Informing module I guess :debug, :error, :info and :warn
>    are possible). Are there any more tags that I should be aware of?

Ramaze only uses these 4, it is the only fragment that is left from
our old tag-based logging-system and i don't have problems locking
them down as long as there are benefits from it. Also have a look into
LogHub, which allows pre-filtering for all loggers already, maybe you
could improve and/or replace it, i currently don't use it at all and
for example Analogger has its own handling.
I basically tried to find the lowest common denominator in the
beginning, but it turned out that people hardly ever customize the
output of logging but love to switch logging-systems themselves.
Anyway, i'm open for anything you may come up with :)

^ manveru

> Sincerely
>
> /laso


More information about the Ramaze-general mailing list