Commit graph

16 commits

Author SHA1 Message Date
JetSetIlly
c767b1c1d5 simplified logger package. added BorrowLog() function 2022-01-19 18:18:55 +00:00
JetSetIlly
4be2106a76 colorised log window - colored in a similar way to the log/colorizer io.Writer 2021-12-14 21:29:06 +00:00
JetSetIlly
94e24e8881 colored log. log entries with multiple lines will be colored 2021-12-11 08:45:35 +00:00
JetSetIlly
7297389e38 logger package records timestamp of most recent log event
fixed Dirty flag for log window
2021-03-11 14:02:38 +00:00
JetSetIlly
d4f72c3b40 Logf() function in logger package
replaced all instances of logger.Log() that used fmt.Sprintf() to build
the details argument
2021-03-06 08:01:48 +00:00
JetSetIlly
9e159b97d8 added more linters to golangci-lint config
godot --fix has been run to make sure all comments end in a full-stop

specified nolint directive to apply to specific linter
2020-10-16 16:31:07 +01:00
JetSetIlly
504ad464a1 corrected regression output format
added ability to skip tests during a regression run by issuing an
interrupt signal (ctrl-c). two such signals within 250ms will stop the
run completely

corrected log regression. now makes sure log is clear before beginning
collation
2020-10-02 22:25:03 +01:00
JetSetIlly
3c7ea1953c adding entry to log will make sure the first part of the detail does not
duplicate the information in the tag
2020-09-28 22:16:59 +01:00
JetSetIlly
cf94511c6b WriteRecent() function in logger package
writes to io.Writer the log entries since the last call to WriteRecent()

implemented RECENT argument to LOG command
2020-09-22 19:21:36 +01:00
JetSetIlly
96b023d381 logging package functions now safe to call from different goroutines 2020-09-17 21:08:45 +01:00
JetSetIlly
12c0da1512 further fix race condition in lazy log copy 2020-09-16 10:59:31 +01:00
JetSetIlly
b76abf69f6 sketched in savekey support
-savekey argument added to play and debug mode

savekey window available in debug menu
2020-09-13 22:31:20 +01:00
JetSetIlly
fcd297e4b6 simple log window 2020-09-13 13:49:46 +01:00
JetSetIlly
b0522d598e "compress" repeated log entries 2020-08-16 11:21:36 +01:00
JetSetIlly
305112ea5b option to echo new log entries to stdout 2020-08-13 16:33:04 +01:00
JetSetIlly
a2aee094a0 added logger package
small changes to how terminal prompt is used

reworked terminal print styles for clarity
2020-08-03 23:24:39 +01:00