How do you log from within your custom class?


#1

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


#2

Try

RAILS_DEFAULT_LOGGER.info

Hammed