// deferHandler writes log info to console.
deferHandler writes log info to console.
// deferHandler writes log info to console .
func deferHandler(w http.ResponseWriter, r *http.Request, code int, start time.Time, err error) {
	if err != nil {
		code = http.StatusExpectationFailed
		http.Error(w, err.Error(), code)
	}
	loggerInfo.Printf("%-5v %v\t%-12v\t%v",
		r.Method,
		code,
		time.Since(start),
		r.URL.String(),
	)
}
func deferHandler ( w http . ResponseWriter , r * http . Request , code int , start time . Time , err error ) { if err != nil { code = http . StatusExpectationFailed http . Error ( w , err . Error ( ) , code ) } loggerInfo . Printf ( " \t \t " , r . Method , code , time . Since ( start ) , r . URL . String ( ) , ) }
deferHandler writes log info to console.
deferHandler writes log info to console .