diff options
| author | Jeff Carr <[email protected]> | 2024-11-27 21:40:06 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-27 21:40:06 -0600 |
| commit | ed3eacfe75e479e8c36cf7ba82a431c567f83602 (patch) | |
| tree | 450d0cc89758efd161c426868d6cbc6e4ef470d0 /log.go | |
| parent | 8b987962ea21a827d50e7f7430ab58b47274ad0e (diff) | |
first attempt that seems to kinda work on New()
Diffstat (limited to 'log.go')
| -rw-r--r-- | log.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -0,0 +1,16 @@ +package gitpb + +import ( + "go.wit.com/log" +) + +var GITPB *log.LogFlag +var GITPBWARN *log.LogFlag + +func init() { + full := "go.wit.com/lib/protobuf/gitpb" + short := "gitpb" + + GITPB = log.NewFlag("GITPB", false, full, short, "general gitpb things") + GITPBWARN = log.NewFlag("GITPBWARN", true, full, short, "gitpb warnings") +} |
