Documentation
¶
Overview ¶
Example HTTP service wired with slogx.
Run:
go run ./example
Then try:
curl -H "X-TRACE-ID: my-trace-1" http://localhost:8080/sum?a=3&b=4&c=5 curl http://localhost:8080/slow curl http://localhost:8080/fanout # spawns goroutines; UI shows "go" chips
Open the debugging UI:
http://localhost:8080/_slogx/
Click to show internal directories.
Click to hide internal directories.