File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,18 @@ type LogSink interface {
51
51
// Info logs a non-error message with the given key/value pairs. This
52
52
// method will only be called if the provided level has been defined
53
53
// for a component in the LoggerOptions.
54
+ //
55
+ // Here are the following level mappings for V = "Verbosity":
56
+ //
57
+ // - V(0): off
58
+ // - V(1): informational
59
+ // - V(2): debugging
60
+ //
61
+ // This level mapping is taken from the go-logr/logr library
62
+ // specifications, specifically:
63
+ //
64
+ // "Level V(0) is the default, and logger.V(0).Info() has the same
65
+ // meaning as logger.Info()."
54
66
Info (level int , message string , keysAndValues ... interface {})
55
67
56
68
// Error logs an error message with the given key/value pairs
You can’t perform that action at this time.
0 commit comments