diff --git a/lib/logger.rb b/lib/logger.rb index d6539a6f69..6ea4e8e8dc 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -11,11 +11,12 @@ # A simple system for logging messages. See Logger for more documentation. require 'monitor' -require 'logger/version' -require 'logger/formatter' -require 'logger/log_device' -require 'logger/severity' -require 'logger/errors' + +require_relative 'logger/version' +require_relative 'logger/formatter' +require_relative 'logger/log_device' +require_relative 'logger/severity' +require_relative 'logger/errors' # == Description # diff --git a/lib/logger/log_device.rb b/lib/logger/log_device.rb index 7cfb45b556..d287a470fc 100644 --- a/lib/logger/log_device.rb +++ b/lib/logger/log_device.rb @@ -1,4 +1,4 @@ -require 'logger/period' +require_relative 'period' class Logger # Device used for logging messages.