Affected by GO-2022-0305
and 1 other vulnerabilities
GO-2022-0305 : Instance config inline secret exposure in Grafana in github.com/grafana/agent
GO-2024-3170 : Grafana Agent (Flow mode) on Windows has Unquoted Search Path or Element vulnerability in github.com/grafana/agent
Discover Packages
github.com/grafana/agent
pkg
operator
logutil
package
Version:
v0.16.0
Opens a new window with list of versions in this module.
Published: Jun 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package logutil implements an adaptor for the go-kit logger, which is used in the
Grafana Agent project, and go-logr, which is used in controller-runtime.
FromContext returns a log.Logger from a context. Panics if the context doesn't
have a Logger set.
Wrap wraps a log.Logger into a logr.Logger.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.