Sha256: 6499057d4eac19aacc9369c32fcf97a8ea81a61e4a4eb319a263275b3192e3a2

Contents?: true

Size: 246 Bytes

Versions: 8

Compression:

Stored size: 246 Bytes

Contents

require 'logger'

module Dry
  module Monitor
    class Logger < ::Logger
      def initialize(*args)
        super
        self.formatter = proc do |severity, datetime, progname, msg|
          "#{msg}\n"
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dry-monitor-0.3.0 lib/dry/monitor/logger.rb
dry-monitor-0.2.0 lib/dry/monitor/logger.rb
dry-monitor-0.1.2 lib/dry/monitor/logger.rb
dry-monitor-0.1.1 lib/dry/monitor/logger.rb
dry-monitor-0.1.0 lib/dry/monitor/logger.rb
dry-monitor-0.0.3 lib/dry/monitor/logger.rb
dry-monitor-0.0.2 lib/dry/monitor/logger.rb
dry-monitor-0.0.1 lib/dry/monitor/logger.rb