summaryrefslogtreecommitdiff
path: root/log.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-28 08:35:39 -0600
committerJeff Carr <[email protected]>2024-11-28 08:35:39 -0600
commit27d052f513f6ae1f27391bac2769cfc7bf1bd61f (patch)
treecc583eb5c1172c11c16022cddb6e60781cfbc92b /log.go
parent0401b949c6f900891f1eefaba41295d2c2a96b07 (diff)
attempt to scan ~/go/src
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")
+}