Commit Graph

48 Commits

Author SHA1 Message Date
Jeff Carr 56145cd22a use io.Writer 2024-11-14 04:58:57 -06:00
Jeff Carr 72d75ee478 attempt 'capture' mode 2024-11-13 21:31:55 -06:00
Jeff Carr 1bcdcfa2f4 remove debugging code 2024-11-07 05:08:42 -06:00
Jeff Carr 53adaabee0 mirroring is weird 2024-11-07 03:11:19 -06:00
Jeff Carr 889ec714e1 mirror output to stdout and http 2024-11-07 02:55:46 -06:00
Jeff Carr ef61eb494b try allowing switching to writing to http 2024-11-07 01:23:43 -06:00
Jeff Carr 2b11a4e334 Sprint()
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-04 05:45:32 -06:00
Jeff Carr 52991d305f add Sprintf and Sprintln
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-11-04 05:11:02 -06:00
Jeff Carr 91b0564fb0 run everything through the daemon check to switch to fmt
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 16:36:44 -05:00
Jeff Carr 366bcac15c fix go vet warnings
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 16:32:08 -05:00
Jeff Carr 2cf02ee2e5 half working 'daemon mode'
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-10-12 16:21:47 -05:00
Jeff Carr 54c0947452 rethink this 2024-02-12 15:11:22 -06:00
Jeff Carr 99fbd48d0b make this quiet finally
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-02-07 08:45:26 -06:00
Jeff Carr fc382169a3 attempt at release automation
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-30 16:05:42 -06:00
Jeff Carr 162d2dd85b try to restore STDOUT
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-30 11:50:24 -06:00
Jeff Carr 57b20eb7d0 toolkit load release
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-27 12:13:05 -06:00
Jeff Carr 53f2462b32 nocui works correctly
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-27 09:02:42 -06:00
Jeff Carr 7371f0428f log flags gui is kinda working now
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-20 14:57:53 -06:00
Jeff Carr fce5068f04 trying to make this work again
Signed-off-by: Jeff Carr <jcarr@wit.com>
2024-01-20 13:42:42 -06:00
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