mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
feat: global set log with pretty console
This commit is contained in:
@@ -16,6 +16,10 @@ var har2caseCmd = &cobra.Command{
|
||||
Args: cobra.MinimumNArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
hrp.SetLogLevel(logLevel)
|
||||
if !logJSON {
|
||||
hrp.SetLogPretty()
|
||||
}
|
||||
|
||||
var outputFiles []string
|
||||
for _, arg := range args {
|
||||
var outputPath string
|
||||
|
||||
Reference in New Issue
Block a user