Sha256: 746c993e8a4f04d25ad61091fbabae7549c4e15c381ecfa021d6c3a5e290d83b

Contents?: true

Size: 426 Bytes

Versions: 4

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true

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

        def tag(_tag); end

        def artifact(_name, _path); end

        def fail!; end

        def warn!; end

        def ignore!; end

        def liftoff; end

        def bump; end

        def wrapup; end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trifle-traces-1.1.2 lib/trifle/traces/tracer/null.rb
trifle-traces-1.1.1 lib/trifle/traces/tracer/null.rb
trifle-traces-1.1.0 lib/trifle/traces/tracer/null.rb
trifle-traces-1.0.1 lib/trifle/traces/tracer/null.rb