1
0
mirror of https://github.com/taigrr/log-socket synced 2025-01-18 04:53:14 -08:00
2023-08-26 22:00:42 -07:00
2023-03-29 14:26:06 -07:00
2022-10-14 22:23:42 -07:00
2021-04-09 00:10:28 -07:00
2023-08-26 22:00:42 -07:00
2022-10-14 22:23:42 -07:00

log-socket

log-socket is a drop-in replacement for Go's log package that allows for streaming of logs via WebSockets.

Installation

To install the library: go get github.com/taigrr/log-socket

Running

To run a demo of this library: go run main.go

This demo will do a sample of every log type and push results to 0.0.0.0:8080. Once running, you can open a browser and navigate to 0.0.0.0:8080 to see an example implementation of how logs are streamed.

Description
Client-server model for logging. Designed to work well with websockets. Simple client page included.
Readme 93 KiB
Languages
Go 82%
HTML 18%