2021-03-27 15:14:37 +01:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-03-30 19:59:26 +02:00
|
|
|
"io"
|
2021-03-27 15:19:32 +01:00
|
|
|
"os"
|
2021-03-27 15:14:37 +01:00
|
|
|
|
2021-03-30 19:59:26 +02:00
|
|
|
"github.com/rs/zerolog"
|
|
|
|
"github.com/rs/zerolog/log"
|
|
|
|
"go.xsfx.dev/schnutibox/cmd"
|
2021-05-03 14:51:53 +02:00
|
|
|
"go.xsfx.dev/schnutibox/pkg/sselog"
|
2021-03-30 19:59:26 +02:00
|
|
|
)
|
2021-03-27 15:14:37 +01:00
|
|
|
|
|
|
|
func main() {
|
2021-05-03 14:51:53 +02:00
|
|
|
sselog.Log = sselog.NewSSELog()
|
|
|
|
log.Logger = zerolog.New(io.MultiWriter(os.Stderr, sselog.Log)).With().Caller().Logger()
|
2021-03-27 15:14:37 +01:00
|
|
|
|
2021-03-30 19:59:26 +02:00
|
|
|
cmd.Execute()
|
2021-03-27 15:14:37 +01:00
|
|
|
}
|