@version 2.0.0
@private
(see Logger#exception)
# File lib/cinch/logger/formatted_logger.rb, line 20 def exception(e) lines = ["#{e.backtrace.first}: #{e.message} (#{e.class})"] lines.concat e.backtrace[1..-1].map {|s| "\t" + s} log(lines, :exception, :error) end
Generated with the Darkfish Rdoc Generator 2.