Class wraps a logger object for debugging internal errors within server

Methods
Attributes
[RW] log_mode
[RW] logger
Public Class methods
new(log_mode)
    # File server/master_worker.rb, line 8
 8:     def initialize(log_mode)
 9:       @log_mode = log_mode
10:       if @log_mode == :foreground
11:         @logger = ::Logger.new(STDOUT)
12:       else
13:         @logger = ::Logger.new("#{RAILS_HOME}/log/backgroundrb_debug.log")
14:       end
15:     end
Public Instance methods
debug(data)
    # File server/master_worker.rb, line 21
21:     def debug(data)
22:       @logger.debug(data)
23:     end
info(data)
    # File server/master_worker.rb, line 17
17:     def info(data)
18:       @logger.info(data)
19:     end