> Kind of. One thing I found in trying to make it extensible to write to
> other devices is that I couldn't just write the formatted message as a
> string to the device. Logging to Syslog requires you to conform to the
> Syslog conventions. Writing to something like MongoDB is most powerful
> if you are writing structured data that can be sorted and sifted
> instead of just strings. That required moving the formatting from the
> logger to the device.

We have the notification / subscription code in 3.x now which is
intended for tracking more detailed / structured data,  if there's
data you can't subscribe to right now we should add the necessary
hook.  Log messages are just strings and the API reflects that.




-- 
Cheers

Koz

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to