feat: replace log with zerolog

This commit is contained in:
debugtalk
2021-10-18 00:15:13 +08:00
parent b77f935339
commit ffbe60b833
8 changed files with 85 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
package cmd
import (
log "github.com/sirupsen/logrus"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/httprunner/hrp/har2case"
@@ -37,7 +37,7 @@ var har2caseCmd = &cobra.Command{
}
outputFiles = append(outputFiles, outputPath)
}
log.Infof("output: %v", outputFiles)
log.Info().Strs("output", outputFiles).Msg("convert testcase success")
return nil
},
}