Method: WatchList::Logger#initialize

Defined in:
lib/watch_list/logger.rb

#initializeLogger

Returns a new instance of Logger.



4
5
6
7
8
9
10
11
12
# File 'lib/watch_list/logger.rb', line 4

def initialize
  super($stdout)

  self.formatter = proc do |severity, datetime, progname, msg|
    "#{msg}\n"
  end

  self.level = INFO
end