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
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
Try
RAILS_DEFAULT_LOGGER.info
Hammed
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