Corrects logconfig from #2956

This commit is contained in:
Tim Emiola 2015-08-18 16:15:14 -07:00
parent 7ff63f6aba
commit 27ccd197c4
1 changed files with 2 additions and 1 deletions

View File

@ -54,5 +54,6 @@ module GRPC
LOGGER = NoopLogger.new
end
include DefaultLogger unless method_defined?(:logger)
# Inject the noop #logger if no module-level logger method has been injected.
extend DefaultLogger unless methods.include?(:logger)
end