fix : change argument name

This commit is contained in:
minoplhy 2024-04-10 23:04:26 +07:00
parent 014568ee02
commit c45dbce606
Signed by: minoplhy
GPG Key ID: 41D406044E2434BF

View File

@ -15,8 +15,8 @@ func ErrorResponseBuild(StatusCode int64, Message string) string {
return string(Response) return string(Response)
} }
func LogBuilder(Type string, headers []string, message string) { func LogBuilder(Level string, headers []string, message string) {
logString := "[" + Type + "]" + " " logString := "[" + Level + "]" + " "
logString += "[" + strings.Join(headers, "] [") + "]" + " : " + message logString += "[" + strings.Join(headers, "] [") + "]" + " : " + message
log.Println(logString) log.Println(logString)
} }