package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Packages

# Functions

FromContext returns the RequestContext associated with ctx, if any.
Get returns the standard logger used throughout OPA.
New returns a new standard logger.
NewContext returns a copy of parent with an associated RequestContext.
NewNoOpLogger instantiates new NoOpLogger.

# Constants

Debug debug log level.
Error error log level.
Info info log level.
Warn warn log level.

# Structs

NoOpLogger logging implementation that does nothing.
RequestContext represents the request context used to store data related to the request that could be used on logs.
StandardLogger is the default OPA logger implementation.

# Interfaces

Logger provides interface for OPA logger implementations.

# Type aliases

Level log level for Logger.