MCPcopy Create free account

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

Functions347 in github.com/go-logr/logr

FunctionTestSlogSinkNestedGroups
(t *testing.T)
funcr/slogsink_test.go:86
FunctionTestSlogSinkOnDiscard
(_ *testing.T)
slogr_test.go:158
FunctionTestSlogSinkWithCaller
(t *testing.T)
funcr/slogsink_test.go:102
FunctionTestToSlogHandler
(t *testing.T)
slogr_test.go:36
FunctionTestV
(t *testing.T)
logr_test.go:104
FunctionTestWithCallDepth
(t *testing.T)
slogr_test.go:98
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:53
MethodWithAttrs
(attrs []slog.Attr)
sloghandler.go:103
MethodWithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:51
MethodWithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:132
MethodWithAttrs
(attrs []slog.Attr)
funcr/slogsink.go:49
MethodWithCallDepth
(depth int)
slogsink.go:63
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:122
MethodWithGroup
(name string)
testimpls_slog_test.go:61
MethodWithGroup
(name string)
testimpls_slog_test.go:137
MethodWithGroup
(name string)
funcr/slogsink.go:58
MethodWithName
(name string)
slogsink.go:97
MethodWithName
(string)
testimpls_slog_test.go:99
MethodWithName
(string)
testimpls_slog_test.go:125
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:63
MethodWithValues
(kvList ...interface{})
slogsink.go:105
MethodWithValues
(kvList ...interface{})
testimpls_slog_test.go:101
MethodWithValues
(...interface{})
testimpls_slog_test.go:126
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:71
FunctiondoSlog
(log logr.Logger)
funcr/example/main_noslog.go:27
Functionmain
()
funcr/example/main.go:43
Functionmain
()
examples/usage_example.go:157
Functionmain
()
examples/slog/main.go:58
FunctionnoopJSON
(_ string)
benchmark/benchmark_test.go:193
FunctionnoopKV
funcr
benchmark/benchmark_test.go:192
← previous301–347 of 347, ranked by callers