Start implementing a logger
This commit is contained in:
parent
58065228e7
commit
40fd1d5300
1
main.go
1
main.go
@ -64,6 +64,7 @@ func server(params Serve) error {
|
|||||||
panic(fmt.Sprintf("who watches the watchmen (%v)?", err))
|
panic(fmt.Sprintf("who watches the watchmen (%v)?", err))
|
||||||
}
|
}
|
||||||
log = zapr.NewLogger(zapLog)
|
log = zapr.NewLogger(zapLog)
|
||||||
|
log.Info("enabled")
|
||||||
|
|
||||||
controller, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{})
|
controller, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user