MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Unmute

Function Unmute

logger/logger.go:93–95  ·  view source on GitHub ↗

Unmute restores the default logger to the one created in [Init]

()

Source from the content-addressed store, hash-verified

91
92// Unmute restores the default logger to the one created in [Init]
93func Unmute() {
94 setDefaultHandler(handler)
95}
96
97func setDefaultHandler(h slog.Handler) {
98 slog.SetDefault(slog.New(h))

Callers 4

TearDownSuiteMethod · 0.92
TearDownSuiteMethod · 0.92
TearDownSuiteMethod · 0.92
TearDownSuiteMethod · 0.92

Calls 1

setDefaultHandlerFunction · 0.85

Tested by 3

TearDownSuiteMethod · 0.74
TearDownSuiteMethod · 0.74
TearDownSuiteMethod · 0.74