Skip to content

LogNorth Documentation

Logs + error tracking. Self-hosted.

Errors detected automatically.

1. Install LogNorth

Terminal window
curl -fsSL lognorth.com/install | sudo bash

2. Add middleware

import { lognorth } from '@lognorth/client/hono'
app.use(lognorth())

Requests and jobs logged automatically.

3. Add custom logs

import { log } from '@lognorth/client'
log("User signed up", { user_id: 123 })
log("Payment failed", { user_id: 123, error: "Card declined" })
ContextResult
status >= 500Error
error fieldError
Everything elseOK

Just HTTP POST. No vendor lock-in.

POST /api/v1/events
Authorization: Bearer YOUR_API_KEY
{"message": "...", "context": {...}}