mirror of
https://github.com/minoplhy/chibisafe-netproxy.git
synced 2024-11-25 04:57:04 +00:00
fix : change argument name
This commit is contained in:
parent
014568ee02
commit
c45dbce606
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user