Rack::CommonLogger
wrapper around the rack common logger to open up the file and flush the logs this is invoked with a ‘use’ command in the Builder so a new instance of ‘Logger’ in created with each request, so we do all the heavy lifting in the meta class.
# File lib/heel/logger.rb, line 18 def log # the log can get closed if daemonized, the at_exit will close it. if @log.closed? then @log = File.open(@log_file, "a") end @log end
Generated with the Darkfish Rdoc Generator 2.