Sha256: df1e5787648888fcbb41d3dcce9babc331a6fa6e74e259b39354c72a1daf618b
Contents?: true
Size: 275 Bytes
Versions: 4
Compression:
Stored size: 275 Bytes
Contents
module Tracing class CompositeLogger < ::Logger attr_reader :destinations def initialize(*loggers) super(nil) @destinations = loggers end def add(*args, &block) @destinations.each { |logger| logger.add(*args, &block) } end end end
Version data entries
4 entries across 4 versions & 1 rubygems