ErrorLogger returns a HandlerFunc for any error type.
()
| 205 | |
| 206 | // ErrorLogger returns a HandlerFunc for any error type. |
| 207 | func ErrorLogger() HandlerFunc { |
| 208 | return ErrorLoggerT(ErrorTypeAny) |
| 209 | } |
| 210 | |
| 211 | // ErrorLoggerT returns a HandlerFunc for a given error type. |
| 212 | func ErrorLoggerT(typ ErrorType) HandlerFunc { |