On Mon, 6 Aug 2007, Tarmo T?nav wrote:
>
> On E, 2007-08-06 at 09:55 +0100, Hugh Sasse wrote:
> > On Fri, 3 Aug 2007, Tarmo Tnav wrote:
> > > def silence(&block)
> > > use_log_level Logger:ERROR, &block
> >
> > Wouldn't that need to be higher than ERROR, i.e. a new value, possibly
> > called NEVER or something?
>
> Not neccessarily, the silence method currently used by
> Rails uses the ERROR log level.
Oh, OK, I was just thinking of total silence....
>
> I can't really see a good reason to make the silence
> method hide error messages, though perhaps it would
> be good to provide some other way to do so. Like
> use_log_level(Logger::NONE) or something like that.
agreed.
>
>
> Tarmo
>
Hugh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---