Skip to main content

Installation

Install the Timberlogs SDK using your preferred package manager.

TypeScript / JavaScript

Requirements: Node.js 16 or later. TypeScript 4.7+ optional but recommended.

Python

Requirements: Python 3.8 or later.

Rust

Cargo.toml
Requirements: Rust 2021 edition or later. Tokio async runtime.
1

Get Your API Key

Sign up at app.timberlogs.dev and create a workspace. Navigate to Settings > API Keys and create a new key.Your API key will look like: tb_live_xxxxxxxxxxxxx
2

Initialize the Client

3

Send Your First Log

4

View in Dashboard

Head to app.timberlogs.dev and select your workspace. Your logs will appear in the Logs view within seconds.
5

Flush on Exit (Important!)

The SDK batches logs for efficiency. Make sure to flush before your process exits:

Example: Express.js

Example: FastAPI

Example: Actix Web

Query Logs from the Terminal

Install the Timberlogs CLI to search and filter logs without leaving your terminal:

Next Steps

Ready to start logging? Sign up free — send your first log in under 5 minutes.