Hmmm, I usually like to name my loggers my_logger (or something
similar) to avoid potential collisions.

I'm not sure why you're not seeing output: I've successfully thrown

require 'ruby-debug'; debugger

in template_environment.rb before.

Bryan


On Sep 25, 5:46 am, Kristian <[email protected]> wrote:
> I have a logger available in template.rb through the logger method
>
>     def logger
>       ActionController::Base.logger rescue nil
>     end
>
> But no matter what I do (so far!), if I try to add a logger to
> template_environment.rb, and do a logger.debug('..') nothing is output
> in the console. Any solutions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to