From c45dbce6061631df36b0eb78e184d681decec59e Mon Sep 17 00:00:00 2001 From: minoplhy Date: Wed, 10 Apr 2024 23:04:26 +0700 Subject: [PATCH] fix : change argument name --- src/handler/templates.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }