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 9fde253
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func Always(format string, a ...interface{}) {
}
}

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

func Critical(format string, a ...interface{}) {
Expand All @@ -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 All @@ -130,7 +130,7 @@ func Debug(format string, a ...interface{}) {
}
}

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

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

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

Expand Down

0 comments on commit 9fde253

Please sign in to comment.