summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9c69ca9..8eb1aca 100644
--- a/main.go
+++ b/main.go
@@ -27,6 +27,10 @@ func main() {
log.SetAll(true)
log.ShowFlags()
}
+ if args.TmpLog {
+ // send all log() output to a file in /tmp
+ log.SetTmp()
+ }
myGui = gui.New()
// myGui.LoadToolkit("andlabs")
// myGui.LoadToolkit("nocui")