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
@@ -17,9 +17,6 @@ var buildCmd = &cobra.Command{
Example: ` $ hrp build plugin/debugtalk.go
$ hrp build plugin/debugtalk.py`,
Args: cobra.ExactArgs(1),
PreRun: func(cmd *cobra.Command, args []string) {
setLogLevel(logLevel)
},
RunE: func(cmd *cobra.Command, args []string) (err error) {
startTime := time.Now()
defer func() {