Sha256: fba2261a3b03b83c4f3482ef3357cd880f8a8dc857600992f20c8a56a392a521

Contents?: true

Size: 229 Bytes

Versions: 13

Compression:

Stored size: 229 Bytes

Contents

module Taps
	def self.log=(log)
		@@log = log
	end

	def self.log
		@@log ||= begin
			require 'logger'
			log = Logger.new($stderr)
			log.level = Logger::ERROR
			log.datetime_format = "%Y-%m-%d %H:%M:%S"
			log
		end
	end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
taps-0.3.11 lib/taps/log.rb
dkastner-taps-0.3.11 lib/taps/log.rb
taps-0.3.10 lib/taps/log.rb
taps-0.3.9 lib/taps/log.rb
taps-0.3.8 lib/taps/log.rb
taps-0.3.7 lib/taps/log.rb
taps-0.3.6 lib/taps/log.rb
taps-0.3.5 lib/taps/log.rb
taps-0.3.4 lib/taps/log.rb
taps-0.3.3 lib/taps/log.rb
taps-0.3.2 lib/taps/log.rb
taps-0.3.1 lib/taps/log.rb
taps-0.3.0 lib/taps/log.rb