feat: global set log level

This commit is contained in:
debugtalk
2021-10-18 09:52:57 +08:00
parent 0efcb0a8d1
commit b345b455eb
10 changed files with 52 additions and 11 deletions

View File

@@ -12,11 +12,12 @@ import (
"strings"
"github.com/pkg/errors"
"github.com/rs/zerolog/log"
"github.com/httprunner/hrp"
)
var log = hrp.GetLogger()
const (
suffixJSON = ".json"
suffixYAML = ".yaml"