schnutibox/main.go
Marvin Steadfast 35fe4a04df
Some checks failed
continuous-integration/drone/push Build is failing
implemented a rough sse logger
2021-05-03 14:51:53 +02:00

19 lines
315 B
Go

package main
import (
"io"
"os"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"go.xsfx.dev/schnutibox/cmd"
"go.xsfx.dev/schnutibox/pkg/sselog"
)
func main() {
sselog.Log = sselog.NewSSELog()
log.Logger = zerolog.New(io.MultiWriter(os.Stderr, sselog.Log)).With().Caller().Logger()
cmd.Execute()
}