Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

Commit

Permalink
Add logger line
Browse files Browse the repository at this point in the history
  • Loading branch information
binarylogic committed Sep 4, 2016
1 parent 755f96b commit 11e0643
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/timber/probes/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ def add(level, *args, &block)
_timber_old_add(level, *args, &block)
else
context = Contexts::Logger.new(level, progname)
Config.logger.warn("Adding logger for #{level} #{args.inspect}")
CurrentContext.add(context) do
_timber_old_add(level, *args, &block)
end
Expand Down

0 comments on commit 11e0643

Please sign in to comment.