Sha256: 6d137f72a38e2c7f03c199201204adcb004671e456e7aeed0002ce42955750c1
Contents?: true
Size: 406 Bytes
Versions: 2
Compression:
Stored size: 406 Bytes
Contents
module SurfaceMaster # This module provides logging facilities. Just include it to be able to log # stuff. module Logging # Returns the logger to be used by the current instance. # # Creates one if none was set. def logger @logger ||= Logger.new(STDERR) end # Sets the logger to be used by the current instance. def logger=(logger); @logger = logger; end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
surface_master-0.6.0 | lib/surface_master/logging.rb |
surface_master-0.5.1 | lib/surface_master/logging.rb |