[MM-55480] Update logr to v2.0.21 (#25431)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7848ea8e19
Коммит
e99ded1635
@@ -53,3 +53,10 @@ func SetMetricsCollector(collector MetricsCollector, updateFreqMillis int64) Opt
|
||||
func StackFilter(pkg ...string) Option {
|
||||
return logr.StackFilter(pkg...)
|
||||
}
|
||||
|
||||
// MaxFieldLen is the maximum number of characters for a field.
|
||||
// If exceeded, remaining bytes will be discarded.
|
||||
// Defaults to DefaultMaxFieldLength.
|
||||
func MaxFieldLen(size int) Option {
|
||||
return logr.MaxFieldLen(size)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user