19 lines
315 B
Go
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()
|
|
}
|