Hey Guys,
The only way I could find to access the Rails logger object was to
subclass from ApplicationController… can anyone suggest a more
sensible way of doing it?
Soroe.
Hey Guys,
The only way I could find to access the Rails logger object was to
subclass from ApplicationController… can anyone suggest a more
sensible way of doing it?
Soroe.
Sonny C. wrote:
Hey Guys,
The only way I could find to access the Rails logger object was to
subclass from ApplicationController… can anyone suggest a more
sensible way of doing it?
def logger
RAILS_DEFAULT_LOGGER
end
Cheers,
Bragi
On Sun, Aug 06, 2006 at 09:54:43AM +0200, Sonny C. wrote:
The only way I could find to access the Rails logger object was to
subclass from ApplicationController… can anyone suggest a more
sensible way of doing it?
I usually just use RAILS_DEFAULT_LOGGER, but I’m not sure if that’s
quite
the Officially Sanctioned way of doing it.
–
You have a 16-bit quantity, but 5 bits of it are here and 2 bits of it
are
there… and 2 bits of it are back here and 3 bits of it are up there.
The
C code to extract useful data had so many >> and << operators in it that
it
looked like the C++ version of “hello world”. – Matt Roberds, ASR
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs