Source: show | on GitHub
# File lib/apphunk/logger.rb, line 5 def error(message) message = "[Apphunk] Error: #{message}" case when Rails && Rails.logger Rails.logger.error(message) when RAILS_DEFAULT_LOGGER RAILS_DEFAULT_LOGGER.error(message) else puts(message) end end