Sha256: e6ca29315c7e8e61280272880d538513a6408f79ed307df6c3e4cb7cc8563c21

Contents?: true

Size: 429 Bytes

Versions: 13

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module Auther
  # The default logger which purposefully does nothing at all.
  class NullLogger
    # rubocop:disable Style/RedundantInitialize
    def initialize _parameters
    end
    # rubocop:enable Style/RedundantInitialize

    def info _message
    end

    def warn _message
    end

    def error _message
    end

    def fatal _message
    end

    def debug _message
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
auther-15.0.2 lib/auther/null_logger.rb
auther-15.0.1 lib/auther/null_logger.rb
auther-15.0.0 lib/auther/null_logger.rb
auther-14.0.3 lib/auther/null_logger.rb
auther-14.0.2 lib/auther/null_logger.rb
auther-14.0.1 lib/auther/null_logger.rb
auther-14.0.0 lib/auther/null_logger.rb
auther-13.6.0 lib/auther/null_logger.rb
auther-13.5.0 lib/auther/null_logger.rb
auther-13.4.0 lib/auther/null_logger.rb
auther-13.3.0 lib/auther/null_logger.rb
auther-13.2.3 lib/auther/null_logger.rb
auther-13.2.2 lib/auther/null_logger.rb