Migration: go 1.18

This commit is contained in:
yaling888
2022-03-16 22:00:20 +08:00
parent 346d817dba
commit b8d635a4b3
12 changed files with 15 additions and 62 deletions

View File

@ -97,9 +97,3 @@ func newLog(logLevel LogLevel, format string, v ...any) *Event {
Payload: fmt.Sprintf(format, v...),
}
}
func PrintLog(logLevel LogLevel, format string, v ...interface{}) {
event := newLog(logLevel, format, v...)
logCh <- event
print(event)
}