Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-logr/logr
/ functions
Functions
353 in github.com/go-logr/logr
⨍
Functions
353
◇
Types & classes
83
Function
TestRunSlogTestsOnNaiveSlogHandler
(t *testing.T)
slogr_test.go:116
Function
TestRunSlogTestsOnSlogSink
(t *testing.T)
internal/testhelp/slog_test.go:27
Function
TestSanitize
(t *testing.T)
funcr/funcr_test.go:1022
Function
TestSlogSink
(t *testing.T)
funcr/slogsink_test.go:34
Function
TestSlogSinkGroupMaxDepth
(t *testing.T)
funcr/slogsink_test.go:236
Function
TestSlogSinkGroups
(t *testing.T)
funcr/slogsink_test.go:86
Function
TestSlogSinkOnDiscard
(_ *testing.T)
slogr_test.go:164
Function
TestSlogSinkWithCaller
(t *testing.T)
funcr/slogsink_test.go:183
Function
TestToSlogHandler
(t *testing.T)
slogr_test.go:35
Function
TestV
(t *testing.T)
logr_test.go:104
Function
TestWithCallDepth
(t *testing.T)
slogr_test.go:97
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:52
Method
WithAttrs
(attrs []slog.Attr)
sloghandler.go:102
Method
WithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:50
Method
WithAttrs
(attrs []slog.Attr)
testimpls_slog_test.go:131
Method
WithAttrs
(attrs []slog.Attr)
funcr/slogsink.go:48
Method
WithCallDepth
(depth int)
slogsink.go:62
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:121
Method
WithGroup
(name string)
testimpls_slog_test.go:60
Method
WithGroup
(name string)
testimpls_slog_test.go:136
Method
WithGroup
(name string)
funcr/slogsink.go:57
Method
WithName
(name string)
slogsink.go:96
Method
WithName
(string)
testimpls_slog_test.go:98
Method
WithName
(string)
testimpls_slog_test.go:124
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:65
Method
WithValues
(kvList ...interface{})
slogsink.go:104
Method
WithValues
WithValues returns a new Logger instance with additional key/value pairs. See Info for documentation on how key/value pairs work.
logr.go:328
Method
WithValues
(kvList ...interface{})
testimpls_slog_test.go:100
Method
WithValues
(...interface{})
testimpls_slog_test.go:125
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:73
Function
doSlog
(log logr.Logger)
funcr/example/main_noslog.go:26
Function
main
()
funcr/example/main.go:43
Function
main
()
examples/usage_example.go:165
Function
main
()
examples/slog/main.go:57
Function
noopJSON
(_ string)
benchmark/benchmark_test.go:215
Function
noopKV
funcr
benchmark/benchmark_test.go:214
← previous
301–353 of 353, ranked by callers