lib/bixby-common/util/log/logger.rb in bixby-common-0.4.4 vs lib/bixby-common/util/log/logger.rb in bixby-common-0.4.5
- old
+ new
@@ -1,10 +1,11 @@
# Patch Logging::Logger so that :trace becomes an inherited flag
module Logging
class Logger
+ # :nocov:
# Override to pass trace flag from parent to child
def initialize( name )
case name
when String
@@ -14,8 +15,9 @@
repo = ::Logging::Repository.instance
parent = repo.parent(name)
_setup(name, :parent => parent, :trace => parent.trace)
end
+ # :nocov:
end
end