mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-06 20:32:44 +08:00
feat: add GetResultsPath()
This commit is contained in:
@@ -85,6 +85,10 @@ func InitLogger(logLevel string, logJSON bool, logFile bool) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetResultsPath() string {
|
||||||
|
return config.GetConfig().ResultsPath()
|
||||||
|
}
|
||||||
|
|
||||||
// parseLogLevel converts string log level to zerolog.Level
|
// parseLogLevel converts string log level to zerolog.Level
|
||||||
func parseLogLevel(logLevel string) zerolog.Level {
|
func parseLogLevel(logLevel string) zerolog.Level {
|
||||||
level := strings.ToUpper(logLevel)
|
level := strings.ToUpper(logLevel)
|
||||||
|
|||||||
Reference in New Issue
Block a user