Sha256: cf3f7d6b12abad494b98ad62756a026f2718931987b594aa791bc17dcbdc2802

Contents?: true

Size: 237 Bytes

Versions: 19

Compression:

Stored size: 237 Bytes

Contents

module Crono
  mattr_accessor :logger

  # Crono::Logging is a standart Ruby logger wrapper
  module Logging
    def logfile=(logfile)
      Crono.logger = Logger.new(logfile)
    end

    def logger
      Crono.logger
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
crono-2.0.1 lib/crono/logging.rb
crono-2.0.0 lib/crono/logging.rb
crono-1.1.2 lib/crono/logging.rb
crono-1.1.1 lib/crono/logging.rb
crono-1.1.0 lib/crono/logging.rb
crono-1.0.3 lib/crono/logging.rb
crono-1.0.2 lib/crono/logging.rb
crono-1.0.1 lib/crono/logging.rb
crono-1.0.0 lib/crono/logging.rb
crono-1.0.0.pre3 lib/crono/logging.rb
crono-1.0.0.pre2 lib/crono/logging.rb
crono-0.9.0 lib/crono/logging.rb
crono-0.8.9 lib/crono/logging.rb
crono-0.8.9.pre lib/crono/logging.rb
crono-0.8.8.pre lib/crono/logging.rb
crono-0.8.7.pre lib/crono/logging.rb
crono-0.8.6.pre lib/crono/logging.rb
crono-0.8.1 lib/crono/logging.rb
crono-0.8.0 lib/crono/logging.rb