Sha256: aa7d780e1bc16f333bcd4344b97360386fef7d51eb1a7a25371436ce248eae3d
Contents?: true
Size: 393 Bytes
Versions: 3
Compression:
Stored size: 393 Bytes
Contents
# encoding: utf-8 # A stub object that we can use in place of a real Logger instance when # the agent is disabled. module OneApm module Agent class NullLogger def fatal(*args); end def error(*args); end def warn(*args); end def info(*args); end def debug(*args); end def method_missing(method, *args, &blk) nil end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
oneapm_rpm-1.1.2 | lib/one_apm/logger/null_logger.rb |
oneapm_rpm-1.1.1 | lib/one_apm/logger/null_logger.rb |
oneapm_rpm-1.1.0 | lib/one_apm/logger/null_logger.rb |