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

Method Enabled

logger/handler.go:43–43  ·  view source on GitHub ↗

Enabled checks if the hook is enabled for the given log level.

(lvl slog.Level)

Source from the content-addressed store, hash-verified

41type Hook interface {
42 // Enabled checks if the hook is enabled for the given log level.
43 Enabled(lvl slog.Level) bool
44
45 // Fire is a function that gets called on log events.
46 //

Callers 9

ValidateMethod · 0.65
EnabledMethod · 0.65
HandleMethod · 0.65
WithMonitoringMethod · 0.65
NewFunction · 0.65
NewFunction · 0.65
NewFunction · 0.65
NewFunction · 0.65
NewFunction · 0.65

Implementers 2

Hooklogger/syslog/syslog.go
logHookmonitoring/otel/log_hook.go

Calls

no outgoing calls

Tested by

no test coverage detected