fix log level

This commit is contained in:
kim 2024-09-20 14:09:52 +01:00
commit 5c9c9449ef

View file

@ -247,7 +247,7 @@ func ErrorKV(ctx context.Context, key string, value interface{}) {
//
//go:noinline
func ErrorKVs(ctx context.Context, kvs ...kv.Field) {
logf(ctx, 3, WARN, kvs, "")
logf(ctx, 3, ERROR, kvs, "")
}
// Panic will log formatted args as 'msg' field to the log at PANIC level.