mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-01-15 14:32:07 +00:00
* Use `github.com/rs/zerolog` for logging * Use `github.com/rs/zerolog` for logging (continue) * Add `debug` flag * Remove `github.com/op/go-logging` dependency completely * Fix linter
18 lines
367 B
Go
18 lines
367 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"time"
|
|
|
|
"github.com/kubeshark/kubeshark/cmd"
|
|
"github.com/kubeshark/kubeshark/cmd/goUtils"
|
|
"github.com/rs/zerolog"
|
|
"github.com/rs/zerolog/log"
|
|
)
|
|
|
|
func main() {
|
|
zerolog.SetGlobalLevel(zerolog.InfoLevel)
|
|
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr, TimeFormat: time.RFC3339})
|
|
goUtils.HandleExcWrapper(cmd.Execute)
|
|
}
|