refactor: init logger

This commit is contained in:
lilong.129
2023-08-06 11:37:08 +08:00
parent 630cd70215
commit 2625f135fd
10 changed files with 68 additions and 83 deletions
-3
View File
@@ -14,9 +14,6 @@ var wikiCmd = &cobra.Command{
Use: "wiki",
Aliases: []string{"info", "docs", "doc"},
Short: "visit https://httprunner.com",
PreRun: func(cmd *cobra.Command, args []string) {
setLogLevel(logLevel)
},
RunE: func(cmd *cobra.Command, args []string) (err error) {
startTime := time.Now()
defer func() {