Sha256: 4af0613de1d4f758a7ebbf82d807cc53ff70b91fb270a6d072cdd26021add340

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

module BunnyCarrot
  class LoggingActor < Concurrent::Actor
    include BunnyCarrot::Logger

    def on_error(time, msg, ex)
      logger.error "#{time} #{msg.inspect}"
      logger.error ex.inspect
      logger.error ex.backtrace.join("\n")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bunny_carrot-0.0.2 lib/bunny_carrot/logging_actor.rb