diff --git a/src/cmd/input.go b/src/cmd/input.go index 2d88dae2..23e27c0a 100644 --- a/src/cmd/input.go +++ b/src/cmd/input.go @@ -1,9 +1,10 @@ package cmd import ( - "fmt" "os" + "github.com/rs/zerolog/log" + "github.com/spf13/viper" ) @@ -15,7 +16,7 @@ func readInputConfig() { viper.SetConfigFile("./data.yaml") case "-": if isStdInFromTerminal() { - fmt.Println("Reading input directly from command line...") + log.Info().Msg("Reading input directly from command line...") } viper.SetConfigType("yaml") viper.ReadConfig(os.Stdin)