Sha256: f5b7e4cbd7f2f2b60c2408544f6bccd74f459eb7fdffc08d6cf64cd0f4301e0a

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

# frozen_string_literal: true

module Trifle
  module Logger
    module Tracer
      class Null
        def log(_message, **_keywords)
          yield if block_given?
        end

        def tag(_resource); end

        def fail!; end

        def wrapup; end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
trifle-logger-0.0.2 lib/trifle/logger/tracer/null.rb
trifle-logger-0.0.1 lib/trifle/logger/tracer/null.rb