Start implementing a logger

This commit is contained in:
Nikolai Rodionov 2024-05-06 17:22:35 +02:00
parent 58065228e7
commit 40fd1d5300
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -64,6 +64,7 @@ func server(params Serve) error {
panic(fmt.Sprintf("who watches the watchmen (%v)?", err))
}
log = zapr.NewLogger(zapLog)
log.Info("enabled")
controller, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{})
if err != nil {