lib/trifle/logger/configuration.rb in trifle-logger-0.2.2 vs lib/trifle/logger/configuration.rb in trifle-logger-0.3.0

- old
+ new

@@ -1,13 +1,13 @@ # frozen_string_literal: true module Trifle module Logger class Configuration - attr_accessor :tracer_klass, :callbacks, :bump_every + attr_accessor :tracer_class, :callbacks, :bump_every def initialize - @tracer_klass = Trifle::Logger::Tracer::Hash + @tracer_class = Trifle::Logger::Tracer::Hash @callbacks = { liftoff: [], bump: [], wrapup: [] } @bump_every = 15.seconds end def on_liftoff(tracer)