protected Method

RailsFCGIHandler.dispatcher_log(level, msg)

There's no documentation for this item.

Source Code

# File fcgi_handler.rb, line 114
def dispatcher_log(level, msg)
  time_str = Time.now.strftime("%d/%b/%Y:%H:%M:%S")
  logger.send(level, "[#{time_str} :: #{$$}] #{msg}")
rescue Exception => log_error  # Logger errors
  STDERR << "Couldn't write to #{@log_file_path.inspect}: #{msg}\n"
  STDERR << "  #{log_error.class}: #{log_error.message}\n"
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.