Removed unused function

This commit is contained in:
konrad 2019-03-24 08:58:14 +01:00
parent e1854c265e
commit 1ddbccd6c8
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 5 deletions

View File

@ -42,8 +42,3 @@ func HandleHTTPError(err error, ctx echo.Context) *echo.HTTPError {
config.LoggingProvider.Error(err.Error())
return echo.NewHTTPError(http.StatusInternalServerError)
}
// Helper function to get the logger
func getLogger(ctx echo.Context) *logging.Logger {
return ctx.Get("LoggingProvider").(*logging.Logger)
}