Skip to content

Commit

Permalink
Replace Fprintf by just Fprint
Browse files Browse the repository at this point in the history
  • Loading branch information
sayboras committed Apr 24, 2020
1 parent fd0d870 commit 50249a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func Critical(format string, a ...interface{}) {
}
}

fmt.Fprintf(w, s)
fmt.Fprint(w, s)
}
}

Expand All @@ -94,7 +94,7 @@ func Info(format string, a ...interface{}) {
}
}

fmt.Fprintf(w, s)
fmt.Fprint(w, s)
}
}

Expand All @@ -112,7 +112,7 @@ func Success(format string, a ...interface{}) {
}
}

fmt.Fprintf(w, s)
fmt.Fprint(w, s)
}
}

Expand Down Expand Up @@ -149,7 +149,7 @@ func Warning(format string, a ...interface{}) {
}
}

fmt.Fprintf(w, s)
fmt.Fprint(w, s)
}
}

Expand Down

0 comments on commit 50249a6

Please sign in to comment.