Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
vearne committed Jul 10, 2024
1 parent 7f74863 commit 884b5ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/command/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
version = "v0.0.9"
version = "v0.1.0"
)

func main() {
Expand Down

0 comments on commit 884b5ff

Please sign in to comment.