lib/linux_admin.rb in linux_admin-0.10.0 vs lib/linux_admin.rb in linux_admin-0.10.1
- old
+ new
@@ -1,9 +1,11 @@
require 'more_core_extensions/all'
require 'active_support'
require 'active_support/core_ext'
+require 'linux_admin/logging'
+require 'linux_admin/null_logger'
require 'linux_admin/common'
require 'linux_admin/exceptions'
require 'linux_admin/package'
require 'linux_admin/registration_system'
@@ -26,7 +28,13 @@
require 'linux_admin/physical_volume'
require 'linux_admin/volume_group'
module LinuxAdmin
extend Common
- include Common
+ extend self
+
+ attr_writer :logger
+
+ def logger
+ @logger ||= NullLogger.new
+ end
end