From 884b5ff39750f0feec8979c52164ff0741aa6ce1 Mon Sep 17 00:00:00 2001 From: vearne Date: Wed, 10 Jul 2024 10:43:44 +0800 Subject: [PATCH] add log --- internal/command/command.go | 1 + main.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/command/command.go b/internal/command/command.go index 4de46ed..8f7f058 100644 --- a/internal/command/command.go +++ b/internal/command/command.go @@ -50,6 +50,7 @@ func RunTestCases(ctx context.Context, cmd *cli.Command) error { // 3. initialize logger & RestyClient slog.Info("3. Initialize logger&RestyClient") loggerConfig := resource.GlobalConfig.Global.Logger + slog.Info("loggerConfig:FilePath:%v, level:%v", loggerConfig.FilePath, loggerConfig.Level) zaplog.InitLogger(loggerConfig.FilePath, loggerConfig.Level) resource.InitRestyClient(resource.GlobalConfig.Global.Debug) diff --git a/main.go b/main.go index 72c7c92..cbec194 100644 --- a/main.go +++ b/main.go @@ -11,7 +11,7 @@ import ( ) const ( - version = "v0.0.9" + version = "v0.1.0" ) func main() {