lib/surface_master/logging.rb in surface_master-0.5.0 vs lib/surface_master/logging.rb in surface_master-0.5.1
- old
+ new
@@ -4,10 +4,10 @@
module Logging
# Returns the logger to be used by the current instance.
#
# Creates one if none was set.
def logger
- @logger ||= Logger.new(nil)
+ @logger ||= Logger.new(STDERR)
end
# Sets the logger to be used by the current instance.
def logger=(logger); @logger = logger; end
end