Sha256: 361b5f4f6fe012cd6fff21c58b0a15e6a811152f7f362ab2a8f8d8050435c721

Contents?: true

Size: 278 Bytes

Versions: 5

Compression:

Stored size: 278 Bytes

Contents

module Rancher
  module Api
    class Logger < ::Logger
      class << self
        def log
          @_logger ||= init
        end

        def init
          logger = new(STDOUT)
          logger.level = ::Logger::INFO
          logger
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rancher-api-0.7.0 lib/rancher/api/logger.rb
rancher-api-0.6.0 lib/rancher/api/logger.rb
rancher-api-0.5.2 lib/rancher/api/logger.rb
rancher-api-0.5.1 lib/rancher/api/logger.rb
rancher-api-0.5.0 lib/rancher/api/logger.rb