Sha256: b7d41315674ade27a320014fb4bcb18a305644c23a27e8d11c889c81275eba47
Contents?: true
Size: 462 Bytes
Versions: 3
Compression:
Stored size: 462 Bytes
Contents
# frozen_string_literal: true module Sbmt module KafkaProducer class Logger delegate :logger, to: :Rails %i[ debug info warn error fatal ].each do |log_level| define_method log_level do |*args| logger.send(log_level, *args) end end def add(...) logger.add(...) end def tagged(...) logger.tagged(...) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sbmt-kafka_producer-3.2.0 | lib/sbmt/kafka_producer/logger.rb |
sbmt-kafka_producer-3.1.1 | lib/sbmt/kafka_producer/logger.rb |
sbmt-kafka_producer-3.1.0 | lib/sbmt/kafka_producer/logger.rb |