Try Logdock SDK

Interactive examples to get you started with Logdock in minutes

Quick Start Examples

JavaScript / Node.js

npm install @logdock/js

import { Logdock } from '@logdock/js';

const logger = new Logdock({
  apiKey: 'your-api-key',
  projectId: 'your-project-id'
});

// Log different levels
logger.info('User logged in', { userId: 123 });
logger.error('Payment failed', { 
  error: 'Card declined',
  userId: 123,
  amount: 99.99 
});
logger.warn('High memory usage', { 
  usage: '85%' 
});

Python

pip install logdock

from logdock import Logdock

logger = Logdock(
    api_key="your-api-key",
    project_id="your-project-id"
)

# Log with context
logger.info("User login", {
    "user_id": 123,
    "ip": "192.168.1.1"
})

logger.error("Database error", {
    "query": "SELECT * FROM users",
    "error": "Connection timeout"
})

PHP

composer require logdock/php

use Logdock\Client;

$logger = new Client([
    'api_key' => 'your-api-key',
    'project_id' => 'your-project-id'
]);

$logger->info('Order created', [
    'order_id' => 12345,
    'customer_id' => 67890,
    'total' => 149.99
]);

$logger->error('Payment processing failed', [
    'order_id' => 12345,
    'error_code' => 'CARD_DECLINED'
]);

Key Features

🚀 Fast Integration

Get started in under 5 minutes with our simple SDK. No complex configuration required.

📊 Real-time Dashboard

Monitor your logs in real-time with advanced filtering, search, and analytics.

🔍 Advanced Search

Find exactly what you're looking for with powerful search and filtering capabilities.

⚡ High Performance

Built for scale with 99.9% uptime and sub-second log ingestion.

🛡️ Secure & Compliant

Enterprise-grade security with encryption in transit and at rest.

🔗 Multiple Integrations

Support for JavaScript, Python, PHP, Go, Ruby, and more languages.

Ready to get started?

Sign up for free and start logging in minutes.

Logdock

All your logs in one place — simple, fast, and reliable logging platform for modern applications.

Get the latest product news and behind the scenes updates.