v1.2.1 remove module log

This commit is contained in:
bryanqiu 2023-04-10 15:15:26 +08:00
parent 2455ca35b2
commit be4c2164c8

2
log.go
View File

@ -132,7 +132,7 @@ func (log *Logger) logwrite(typ logLevel, calldepth int, format string, v ...int
var ( var (
idstr = log.GetLogidStr("[%s] ") idstr = log.GetLogidStr("[%s] ")
prestr = idstr + "[" + log.module + "] " prestr = idstr // + "[" + log.module + "] "
) )
format = strings.Trim(format, "\n") format = strings.Trim(format, "\n")