summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 02:55:46 -0600
committerJeff Carr <[email protected]>2024-11-07 02:55:46 -0600
commit889ec714e17174d1b82ffebf2f0f8f22f8fbb335 (patch)
treef311d607b3de742dba513d35ed663253ce48c98b /README.md
parentef61eb494b42a7bc226de1edc114579ce530abdd (diff)
mirror output to stdout and http
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0de5e9b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+log
+
+This is an attempt to modify the default golang 'log'.
+Because the 'gui' toolkit could be either ncurses or something like gtk,
+'log' is an attempt to be smart about changing STDOUT on the fly.
+
+* add meaningful shortcuts like log.Info(), log.Warn(), log.Error() etc
+* add flags to enable & disable output on a per-gomodule basis
+* add http flag to switch stdout to http socket
+* compatible with changing import 'log' to import 'go.wit.com/log'
+* should also be compatible with changing import 'fmt' to import fmt 'go.wit.com/log'
+
+Notes & Goals:
+
+* be a complete droplet replacement for golang 'log'
+* provide an example of how the stdlib 'log' could be changed