1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-01-20 18:52:16 +00:00
kyverno/pkg/controllers/metrics/policy/log.go
Charles-Edouard Brétéché 5a09a78350
feat: add controller logger helper (#5029)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-10-18 14:42:43 +00:00

7 lines
160 B
Go

package policy
import "github.com/kyverno/kyverno/pkg/logging"
const controllerName = "policy-metrics"
var logger = logging.ControllerLogger(controllerName)