Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-logr/logr
/ functions
Functions
347 in github.com/go-logr/logr
⨍
Functions
347
◇
Types & classes
79
Function
TestSlogSinkNestedGroups
(t *testing.T)
funcr/slogsink_test.go:86
Function
TestSlogSinkOnDiscard
(_ *testing.T)
slogr_test.go:158
Function
TestSlogSinkWithCaller
(t *testing.T)
funcr/slogsink_test.go:102
Function
TestToSlogHandler
(t *testing.T)
slogr_test.go:36
Function
TestV
(t *testing.T)
logr_test.go:104
Function
TestWithCallDepth
(t *testing.T)
slogr_test.go:98
Function
TestWithCallDepthImplemented
(t *testing.T)
logr_test.go:282
Function
TestWithCallDepthIncremental
(t *testing.T)
logr_test.go:308
Function
TestWithCallDepthNotImplemented
(t *testing.T)
logr_test.go:270
Function
TestWithName
(t *testing.T)
logr_test.go:248
Function
TestWithValues
(t *testing.T)
logr_test.go:226
Function
TestZeroValue
(t *testing.T)
logr_test.go:354
Function
ToSlogHandler
ToSlogHandler returns a slog.Handler which writes to the same sink as the logr.Logger. Deprecated: use [logr.ToSlogHandler] instead.
slogr/slogr.go:53
Method
WithAttrs
(attrs []slog.Attr)
sloghandler.go:103
Method
WithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:51
Method
WithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:132
Method
WithAttrs
(attrs []slog.Attr)
funcr/slogsink.go:49
Method
WithCallDepth
(depth int)
slogsink.go:63
Method
WithCallDepth
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
Method
WithCallDepth
(depth int)
testimpls_test.go:85
Method
WithCallDepth
(depth int)
funcr/example_formatter_test.go:53
Method
WithGroup
(name string)
sloghandler.go:122
Method
WithGroup
(name string)
testimpls_slog_test.go:61
Method
WithGroup
(name string)
testimpls_slog_test.go:137
Method
WithGroup
(name string)
funcr/slogsink.go:58
Method
WithName
(name string)
slogsink.go:97
Method
WithName
(string)
testimpls_slog_test.go:99
Method
WithName
(string)
testimpls_slog_test.go:125
Method
WithName
(name string)
testimpls_test.go:69
Method
WithName
(name string)
testr/testr.go:132
Method
WithName
(name string)
funcr/example_formatter_test.go:43
Method
WithName
(name string)
funcr/funcr.go:166
Method
WithName
(name string)
examples/tab_logger.go:63
Method
WithValues
(kvList ...interface{})
slogsink.go:105
Method
WithValues
(kvList ...interface{})
testimpls_slog_test.go:101
Method
WithValues
(...interface{})
testimpls_slog_test.go:126
Method
WithValues
(kv ...any)
testimpls_test.go:59
Method
WithValues
(kvList ...any)
testr/testr.go:137
Method
WithValues
(kvList ...any)
funcr/example_formatter_test.go:48
Method
WithValues
(kvList ...any)
funcr/funcr.go:171
Method
WithValues
(kvs ...any)
examples/tab_logger.go:71
Function
doSlog
(log logr.Logger)
funcr/example/main_noslog.go:27
Function
main
()
funcr/example/main.go:43
Function
main
()
examples/usage_example.go:157
Function
main
()
examples/slog/main.go:58
Function
noopJSON
(_ string)
benchmark/benchmark_test.go:193
Function
noopKV
funcr
benchmark/benchmark_test.go:192
← previous
301–347 of 347, ranked by callers