aboutsummaryrefslogtreecommitdiffstats
path: root/internal/log/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/log/log.go')
-rw-r--r--internal/log/log.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/log/log.go b/internal/log/log.go
new file mode 100644
index 0000000..545cd98
--- /dev/null
+++ b/internal/log/log.go
@@ -0,0 +1,11 @@
+package log
+
+import (
+ "log"
+ "os"
+)
+
+var (
+ Out = log.New(os.Stdout, "faiface/gui [info]: ", log.LstdFlags)
+ Err = log.New(os.Stderr, "faiface/gui [error]: ", log.LstdFlags|log.Llongfile)
+)