~ $ man 3 lognorth-go
Logs and errors for Go.
One package. Zero dependencies. You own the data.
[01] install
terminal
$ go get github.com/karloscodes/lognorth-sdk-go
[02] use
main.go
import lognorth "github.com/karloscodes/lognorth-sdk-go" lognorth.Config("https://logs.yoursite.com", "your-api-key") lognorth.Log("User signed up", map[string]any{"user_id": 123}) lognorth.Error("Checkout failed", err, map[string]any{"order_id": 42})
[03] out of the box
What you get.
- HTTP middleware with
trace_idandduration_ms slog.Handler: use your existing slog setup- Full stack traces with file, line, and function
- Errors grouped into issues. You get alerted.
- Skip noisy routes like
/healthzand/metrics
[04] the price
No SaaS. No monthly bill.
LogNorth runs on your server. One Docker container. SQLite. Free and open source under MIT.
From go get to tracking errors in under 3 minutes.