use io.Writer
This commit is contained in:
parent
15666309ee
commit
820f27c0a2
|
@ -142,6 +142,10 @@ func addDebugKeys(g *gocui.Gui) {
|
|||
}
|
||||
if tk.v == nil {
|
||||
log.Log(ERROR, "tk.v = nil")
|
||||
} else {
|
||||
log.Log(ERROR, "setting log.CaptureMode(tk.v)")
|
||||
log.Log(ERROR, "setting log.CaptureMode(tk.v)")
|
||||
log.CaptureMode(tk.v)
|
||||
}
|
||||
if me.fakefile == nil {
|
||||
log.Log(ERROR, "making fakefile")
|
||||
|
@ -150,7 +154,6 @@ func addDebugKeys(g *gocui.Gui) {
|
|||
log.Log(ERROR, "attempt write to fakefile")
|
||||
fmt.Fprintf(me.fakefile, "test out fakefile %d\n", ecount)
|
||||
}
|
||||
// log.CaptureMode(tk.v)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue