Skip to content

Commit

Permalink
Add format in aws custom logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sayboras committed Apr 24, 2020
1 parent fd0d870 commit 9df7fdc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 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,8 +130,7 @@ func Debug(format string, a ...interface{}) {
}
}

fmt.Fprintf(w, s)

fmt.Fprint(w, s)
}
}

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

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

Expand Down

0 comments on commit 9df7fdc

Please sign in to comment.