MCPcopy Create free account

hub / github.com/go-logr/logr / functions

Functions353 in github.com/go-logr/logr

FunctionTestRunSlogTestsOnNaiveSlogHandler
(t *testing.T)
slogr_test.go:116
FunctionTestRunSlogTestsOnSlogSink
(t *testing.T)
internal/testhelp/slog_test.go:27
FunctionTestSanitize
(t *testing.T)
funcr/funcr_test.go:1022
FunctionTestSlogSink
(t *testing.T)
funcr/slogsink_test.go:34
FunctionTestSlogSinkGroupMaxDepth
(t *testing.T)
funcr/slogsink_test.go:236
FunctionTestSlogSinkGroups
(t *testing.T)
funcr/slogsink_test.go:86
FunctionTestSlogSinkOnDiscard
(_ *testing.T)
slogr_test.go:164
FunctionTestSlogSinkWithCaller
(t *testing.T)
funcr/slogsink_test.go:183
FunctionTestToSlogHandler
(t *testing.T)
slogr_test.go:35
FunctionTestV
(t *testing.T)
logr_test.go:104
FunctionTestWithCallDepth
(t *testing.T)
slogr_test.go:97
FunctionTestWithCallDepthImplemented
(t *testing.T)
logr_test.go:282
FunctionTestWithCallDepthIncremental
(t *testing.T)
logr_test.go:308
FunctionTestWithCallDepthNotImplemented
(t *testing.T)
logr_test.go:270
FunctionTestWithName
(t *testing.T)
logr_test.go:248
FunctionTestWithValues
(t *testing.T)
logr_test.go:226
FunctionTestZeroValue
(t *testing.T)
logr_test.go:354
FunctionToSlogHandler
ToSlogHandler returns a slog.Handler which writes to the same sink as the logr.Logger. Deprecated: use [logr.ToSlogHandler] instead.
slogr/slogr.go:52
MethodWithAttrs
(attrs []slog.Attr)
sloghandler.go:102
MethodWithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:50
MethodWithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:131
MethodWithAttrs
(attrs []slog.Attr)
funcr/slogsink.go:48
MethodWithCallDepth
(depth int)
slogsink.go:62
MethodWithCallDepth
WithCallDepth returns a Logger instance that offsets the call stack by the specified number of frames when logging call site information, if possible.
logr.go:364
MethodWithCallDepth
(depth int)
testimpls_test.go:85
MethodWithCallDepth
(depth int)
funcr/example_formatter_test.go:53
MethodWithGroup
(name string)
sloghandler.go:121
MethodWithGroup
(name string)
testimpls_slog_test.go:60
MethodWithGroup
(name string)
testimpls_slog_test.go:136
MethodWithGroup
(name string)
funcr/slogsink.go:57
MethodWithName
(name string)
slogsink.go:96
MethodWithName
(string)
testimpls_slog_test.go:98
MethodWithName
(string)
testimpls_slog_test.go:124
MethodWithName
(name string)
testimpls_test.go:69
MethodWithName
(name string)
testr/testr.go:132
MethodWithName
(name string)
funcr/example_formatter_test.go:43
MethodWithName
(name string)
funcr/funcr.go:166
MethodWithName
(name string)
examples/tab_logger.go:65
MethodWithValues
(kvList ...interface{})
slogsink.go:104
MethodWithValues
WithValues returns a new Logger instance with additional key/value pairs. See Info for documentation on how key/value pairs work.
logr.go:328
MethodWithValues
(kvList ...interface{})
testimpls_slog_test.go:100
MethodWithValues
(...interface{})
testimpls_slog_test.go:125
MethodWithValues
(kv ...any)
testimpls_test.go:59
MethodWithValues
(kvList ...any)
testr/testr.go:137
MethodWithValues
(kvList ...any)
funcr/example_formatter_test.go:48
MethodWithValues
(kvList ...any)
funcr/funcr.go:171
MethodWithValues
(kvs ...any)
examples/tab_logger.go:73
FunctiondoSlog
(log logr.Logger)
funcr/example/main_noslog.go:26
Functionmain
()
funcr/example/main.go:43
Functionmain
()
examples/usage_example.go:165
Functionmain
()
examples/slog/main.go:57
FunctionnoopJSON
(_ string)
benchmark/benchmark_test.go:215
FunctionnoopKV
funcr
benchmark/benchmark_test.go:214
← previous301–353 of 353, ranked by callers