Commit Graph

29 Commits

Author SHA1 Message Date
Jeff Carr 67fcbe1f5d missing Fatall()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-17 20:54:32 -06:00
Jeff Carr abb5a8dbad start fixing the logging settings
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-16 11:10:19 -06:00
Jeff Carr a71a85d5c3 prep for patches against golang master
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-15 15:54:53 -06:00
Jeff Carr 7e6b171e0d clean spew
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-14 12:27:10 -06:00
Jeff Carr 7f8cebc504 update spew path
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-14 11:54:13 -06:00
Jeff Carr 7581b8e28e This is a core GO language package
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-14 10:43:35 -06:00
Jeff Carr 8cbc668397 always must init first
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-12 16:49:24 -06:00
Jeff Carr 4f8752d9f4 go.wit.com/log flag changes
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-09 15:50:53 -06:00
Jeff Carr 6749a1d173 use Short if defined
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-06 17:10:59 -06:00
Jeff Carr 5fa7681956 quiet debugging on Get() and Set()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-05 20:39:56 -06:00
Jeff Carr 29db278b6a SetDefaults()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-04 15:22:08 -06:00
Jeff Carr 9b46482ad0 make a log config window
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-04 12:34:04 -06:00
Jeff Carr 6b25784508 always dump flags when requested
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-03 14:22:47 -06:00
Jeff Carr 907893ba7b wrong path
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 19:03:17 -06:00
Jeff Carr 55c05cc53d add Makefile
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 19:01:46 -06:00
Jeff Carr 969519f552 make a flat 'spew' version
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 18:58:38 -06:00
Jeff Carr 064ffdfab2 more on flags
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 06:45:49 -06:00
Jeff Carr b780c1a929 more work on registration of flags
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 01:49:53 -06:00
Jeff Carr bf41970f77 add go mod init
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-01 00:00:00 -06:00
Jeff Carr 9f53c74766 add SPEW as a logFlag type
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 19:44:55 -06:00
Jeff Carr dd09a7c3ab attempt at log.ListAll()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 16:08:01 -06:00
Jeff Carr f98207af0a more comments and code re-arrangement
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 10:45:04 -06:00
Jeff Carr ae26163393 start a log.Register() method
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 09:55:02 -06:00
Jeff Carr 3410280bd7 add log.Infof()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 05:00:13 -06:00
Jeff Carr b0b8b762ab use go-arg package. start migrating more code over
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-31 02:49:26 -06:00
Jeff Carr 2a6ac8ccab init SPEW = off by default 2023-12-30 22:42:29 -06:00
Jeff Carr d7d3fbc3a3 more or less functional draft 2023-12-30 20:48:24 -06:00
Jeff Carr 424a1b42e2 using args.Register()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-29 17:24:39 -06:00
Jeff Carr 5766e86595 initial commit
Signed-off-by: Jeff Carr <jcarr@wit.com>
2023-12-28 12:35:05 -06:00