Chris Richards
2006-May-11 15:47 UTC
[Rails] How do you log from within your custom class?
Hi I know i can use loggger.info("info") to output a message to the log file from within ActionController classes. HOw do I do it from my own custom class? Thanks Chris -- Posted via http://www.ruby-forum.com/.
Try RAILS_DEFAULT_LOGGER.info Hammed On 5/11/06, Chris Richards <evilgeenius@gmail.com> wrote:> Hi > I know i can use loggger.info("info") to output a message to the log > file from within ActionController classes. HOw do I do it from my own > custom class? > > Thanks > Chris > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >