diff --git a/src/handler/templates.go b/src/handler/templates.go index dee44e3..e706ee0 100644 --- a/src/handler/templates.go +++ b/src/handler/templates.go @@ -15,8 +15,8 @@ func ErrorResponseBuild(StatusCode int64, Message string) string { return string(Response) } -func LogBuilder(Type string, headers []string, message string) { - logString := "[" + Type + "]" + " " +func LogBuilder(Level string, headers []string, message string) { + logString := "[" + Level + "]" + " " logString += "[" + strings.Join(headers, "] [") + "]" + " : " + message log.Println(logString) }