Sha256: 0533c98ed1aa89315ea5d8847a1c7c5c4c0aeb186523d0ea7bd5d63e7897b8ec
Contents?: true
Size: 232 Bytes
Versions: 3
Compression:
Stored size: 232 Bytes
Contents
module Lograge class SilentLogger < SimpleDelegator def initialize(logger) super end %i(debug info warn error fatal unknown).each do |method_name| define_method(method_name) { |*_args| } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lograge-0.11.2 | lib/lograge/silent_logger.rb |
lograge-0.11.1 | lib/lograge/silent_logger.rb |
lograge-0.11.0 | lib/lograge/silent_logger.rb |