forked from openshift/special-resource-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
16 lines (13 loc) · 784 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Patch for zapr
func (l *noopInfoLogger) Error(err error, msg string, keysAndValues ...interface{}) {}
func (l *noopInfoLogger) V(level int) logr.Logger { return &noopInfoLogger{} }
func (l *noopInfoLogger) WithValues(keysAndValues ...interface{}) logr.Logger {
return &noopInfoLogger{}
}
func (l *noopInfoLogger) WithName(name string) logr.Logger { return &noopInfoLogger{} }
func (l *infoLogger) Error(err error, msg string, keysAndValues ...interface{}) {}
func (l *infoLogger) V(level int) logr.Logger { return &infoLogger{} }
func (l *infoLogger) WithValues(keysAndValues ...interface{}) logr.Logger {
return &infoLogger{}
}
func (l *infoLogger) WithName(name string) logr.Logger { return &infoLogger{} }