Skip to content

Commit

Permalink
Merge pull request #18 from vearne/feat/log
Browse files Browse the repository at this point in the history
add log
  • Loading branch information
vearne authored Jul 10, 2024
2 parents 7f74863 + 884b5ff commit feb76cc
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 feb76cc

Please sign in to comment.