Sha256: 58de318513399dd63282f1db3c90d142d7a65cea805fff3fccc3b1c0362adc8f

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

module LogStasher
  module Rack
    class CommonLoggerAdapter

      def initialize(logger)
        @logger = logger
      end

      def write(msg)
        @logger.info(tags: 'rack', message: msg)
      end
      
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rv-logstasher-1.5.0 lib/logstasher/rack/common_logger_adapter.rb
rv-logstasher-1.4.0 lib/logstasher/rack/common_logger_adapter.rb
rv-logstasher-1.3.2 lib/logstasher/rack/common_logger_adapter.rb
rv-logstasher-1.3.1 lib/logstasher/rack/common_logger_adapter.rb