A basic websocket logging util library to help debug terminal UI applications, or any app thats tricky to write to log to stdout, where for whatever reason you don't want to log to file.
Built upon Gorilla's Websocket package.
go get github.com/tomatosource/socklog
$ socklog
Listening for logs...
socklogger := socklog.MustNew("localhost:8080")
defer socklogger.Close()
log.SetOutput(socklogger)
log.Print("hello world")
$ socklog --help
Usage of socklog:
-addr string
http service address (default "localhost:8080")
None planned, but this whole repository is less than 100 lines of Go (not counting examples), so it should be fairly easy to poke around in and extend.