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)
}
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)
}