Sha256: a7da1b3f9cb0905321bd6b809d409003ef1424dcab5e4ff73353747d04020970

Contents?: true

Size: 448 Bytes

Versions: 11

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

require 'logger'

module Middleware
  module RubyGem

    class MwLogger

      @@logger = Logger.new(STDOUT)

      def self.debug(message)
        @@logger.debug(message)
      end

      def self.error(message)
        @@logger.error(message)
      end

      def self.info(message)
        @@logger.info(message)
      end

      def self.warn(message)
        @@logger.warn(message)
      end

    end

  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
middleware_apm_linux-2.1.2 lib/middleware/logger.rb
middleware_apm_linux-2.1.1 lib/middleware/logger.rb
middleware_apm_linux-2.1.0 lib/middleware/logger.rb
middleware_apm_linux-2.0.0 lib/middleware/logger.rb
middleware_apm_linux-1.0.0 lib/middleware/logger.rb
middleware_apm-1.1.0 lib/middleware/logger.rb
middleware_apm-1.0.0 lib/middleware/logger.rb
middleware_apm_dp-1.0.0 lib/middleware/logger.rb
middleware_apm_dp-0.3.0 lib/middleware/logger.rb
middleware_apm_dp-0.2.0 lib/middleware/logger.rb
middleware_apm-0.2.0 lib/middleware/logger.rb