Sha256: 39ccff8d64b843eeb93a4e6514ac05222c68fa98a66072d4259d38a8820d7459
Contents?: true
Size: 325 Bytes
Versions: 7
Compression:
Stored size: 325 Bytes
Contents
module MessageDriver # @private module Logging module_function def logger MessageDriver.logger end def exception_to_str(e) (["#{e.class}: #{e}"] + e.backtrace).join("\n ") end def message_with_exception(message, e) [message, exception_to_str(e)].join("\n") end end end
Version data entries
7 entries across 7 versions & 1 rubygems