summaryrefslogtreecommitdiff
path: root/debugon.go
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2019-06-16 12:14:02 +0200
committerÖzgür Kesim <oec@codeblau.de>2019-06-16 12:14:02 +0200
commit6b9cd80df517fd7d85a256a950f3de726d7e619e (patch)
tree2ce6060260a7fce287e7a714142b3953eab7058e /debugon.go
parent68e6e3dab81254011e451775a54b3791d5bbc502 (diff)
use Fprint instead of Fprintf in debug
Diffstat (limited to 'debugon.go')
-rw-r--r--debugon.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/debugon.go b/debugon.go
index dcb8678..49039c8 100644
--- a/debugon.go
+++ b/debugon.go
@@ -74,10 +74,10 @@ func (dp *debugParser) logStart(ps *State) {
func (dp *debugParser) logEnd(ps *State, result *Result) {
if log != nil {
if pendingOpenLog != "" {
- fmt.Fprintf(log, dp.logf(ps, result, dp.Name()))
+ fmt.Fprint(log, dp.logf(ps, result, dp.Name()))
pendingOpenLog = ""
} else {
- fmt.Fprintf(log, dp.logf(ps, result, "}"))
+ fmt.Fprint(log, dp.logf(ps, result, "}"))
}
}
}