You can use
RAILS_DEFAULT_LOGGER.log "foobar" # or Rails.logger.log "blah" |
outside a controller for logging.
August 25, 2009 by Michael
You can use
RAILS_DEFAULT_LOGGER.log "foobar" # or Rails.logger.log "blah" |
RAILS_DEFAULT_LOGGER.log "foobar" # or Rails.logger.log "blah"
outside a controller for logging.
No comments yet
Post a Comment