mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 19:06:33 +02:00
This also replaces instances where we manually write "return ctx.Err()" with "return context.Cause(ctx)" which is functionally identical, but will also correctly propagate cause errors if present.
10 lines
208 B
Go
10 lines
208 B
Go
package log
|
|
|
|
import "sync/atomic"
|
|
|
|
var (
|
|
// Debug option to disable the Zap log shim
|
|
DebugDisableZapLogger atomic.Bool
|
|
// Debug option to suppress global warnings
|
|
DebugDisableGlobalWarnings atomic.Bool
|
|
)
|