Sha256: 9073f432d8e386f9a5aaeaceb0915da419b0e3503bfb9b3c483f877d37b33190

Contents?: true

Size: 204 Bytes

Versions: 1

Compression:

Stored size: 204 Bytes

Contents

module MessageDriver
  module Logging
    def logger
      MessageDriver::Broker.logger
    end

    def exception_to_str(e)
      (["#{e.class}: #{e.to_s}"] + e.backtrace).join("\n  ")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
message-driver-0.2.2 lib/message_driver/logging.rb