oc-schedulerd/logger/logger.go

13 lines
200 B
Go
Raw Normal View History

2024-07-11 18:25:40 +02:00
package logger
import (
2024-08-09 18:44:33 +02:00
"cloud.o-forge.io/core/oc-lib/logs"
2024-07-11 18:25:40 +02:00
"github.com/rs/zerolog"
)
var Logger zerolog.Logger
func init() {
2024-08-09 18:44:33 +02:00
logs.SetAppName("oc-scheduler")
Logger = logs.CreateLogger("","")
2024-07-11 18:25:40 +02:00
}