class Puma::ErrorLogger

def title(options={})

def title(options={})
  text = options[:text]
  req = options[:req]
  error = options[:error]
  string_block = ["#{Time.now}"]
  string_block << " #{text}" if text
  string_block << " (#{request_title(req)})" if request_parsed?(req)
  string_block << ": #{error.inspect}" if error
  string_block.join('')
end