lib/taps/log.rb in taps-0.3.11 vs lib/taps/log.rb in taps-0.3.12
- old
+ new
@@ -1,15 +1,15 @@
module Taps
- def self.log=(log)
- @@log = log
- end
+ 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
+ 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