Skip to content

Commit

Permalink
Ensure Logger (Stdlib) is properly required
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
liveh2o committed Aug 27, 2014
1 parent 8b62b42 commit 1e55916
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/protobuf/logging.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'logger'

module Protobuf
module Logging
def self.initialize_logger(log_target=$stdout, log_level=::Logger::INFO)
Expand Down

0 comments on commit 1e55916

Please sign in to comment.