Skip to content

Commit

Permalink
atlasaction: revamp circleci logger impl (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
datdao authored Jun 26, 2024
1 parent 86405e5 commit 029e918
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions atlasaction/circleci_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,17 +101,17 @@ const EOF = "\n"

// Infof implements the Logger interface.
func (o *circleCIOrb) Infof(msg string, args ...any) {
fmt.Fprintf(o.w, "Info: "+msg+EOF, args...)
fmt.Fprintf(o.w, msg+EOF, args...)
}

// Warningf implements the Logger interface.
func (o *circleCIOrb) Warningf(msg string, args ...any) {
fmt.Fprintf(o.w, "Warning: "+msg+EOF, args...)
fmt.Fprintf(o.w, msg+EOF, args...)
}

// Errorf implements the Logger interface.
func (o *circleCIOrb) Errorf(msg string, args ...any) {
fmt.Fprintf(o.w, "Error: "+msg+EOF, args...)
fmt.Fprintf(o.w, msg+EOF, args...)
}

// Fatalf implements the Logger interface.
Expand Down

0 comments on commit 029e918

Please sign in to comment.