summaryrefslogtreecommitdiff
path: root/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'log.go')
-rw-r--r--log.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/log.go b/log.go
new file mode 100644
index 0000000..e8663b1
--- /dev/null
+++ b/log.go
@@ -0,0 +1,16 @@
+package forgepb
+
+import (
+ "go.wit.com/log"
+)
+
+var FORGEPB *log.LogFlag
+var FORGEPBWARN *log.LogFlag
+
+func init() {
+ full := "go.wit.com/lib/protobuf/forgepb"
+ short := "forgepb"
+
+ FORGEPB = log.NewFlag("FORGEPB", false, full, short, "general forgepb things")
+ FORGEPBWARN = log.NewFlag("FORGEPBWARN", true, full, short, "forgepb warnings")
+}