Logged Docs
Logged Docs

Getting Started

  • Installation
  • Quick Start

SDK

  • Logger
  • Capture Errors
  • Browser Auto Capture
  • Console Capture

REST API

  • Overview

Examples

  • Next.js
  • React
  • JavaScript
Back to site

Quick Start

Follow these steps to send your first log to Logged in about five minutes.

1

Create a project

Sign in to the Logged dashboard and create a new project. Each project gets its own API key.

Open Logged
2

Install the SDK

Add the Logged SDK to your application using npm.

bash
npm install @logged/sdk
3

Initialize Logged

Create a Logged client with your project API key.

typescript
import { Logged } from "@logged/sdk";

const logger = new Logged({
  apiKey: process.env.LOGGED_API_KEY!,
});
4

Send a log

Call any logger method to send a log to the Logged API.

typescript
logger.info("Application started");
5

Open the dashboard

Return to the Logged dashboard to inspect your logs, filter by level, and debug issues.

Open Logged

What next?

Once you've sent a log, explore the SDK to capture browser errors, intercept console output, and add structured metadata.

Explore the SDKREST API