Skip to content

Commit 1e55916

Browse files
committed
Ensure Logger (Stdlib) is properly required
Since we're referencing Logger::INFO in the Protobuf::Logging module, we need to ensure that Logger is properly required to avoid any load order issues.
1 parent 8b62b42 commit 1e55916

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/protobuf/logging.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'logger'
2+
13
module Protobuf
24
module Logging
35
def self.initialize_logger(log_target=$stdout, log_level=::Logger::INFO)

0 commit comments

Comments
 (0)