Official SDKs

LogWard provides official SDKs for multiple programming languages, making it easy to integrate log management into your applications.

Don't want to install an SDK?

No problem! LogWard supports stdout-based logging for any language (Go, Rust, Ruby, Java, .NET, etc.). Just write to stdout and let Fluent Bit collect your logs automatically.

Learn more about No-SDK Setup →

Available SDKs

Node.js SDK

Official SDK for Node.js and TypeScript applications

Installation:

npm install @logward-dev/sdk-node

Features:

  • ✅ Express & Fastify middleware
  • ✅ Full TypeScript support
  • ✅ Automatic batching & retry
Python SDK

Official SDK for Python 3.8+ applications

Installation:

pip install logward-sdk

Features:

  • ✅ Flask, Django & FastAPI middleware
  • ✅ Type hints support
  • ✅ Context managers for tracing
PHP SDK

Official SDK for PHP 8.1+ applications

Installation:

composer require logward/sdk-php

Features:

  • ✅ Laravel, Symfony & PSR-15 middleware
  • ✅ Strict types & enums
  • ✅ Auto-shutdown handling
Kotlin SDK

Official SDK for Kotlin & JVM applications

Installation:

implementation("io.github.logward-dev:logward-sdk-kotlin:0.2.1")

Features:

  • ✅ Coroutines support
  • ✅ Ktor, Spring Boot & Jakarta middleware
  • ✅ Multiplatform ready

Common Features

All LogWard SDKs share these core features:

🚀 Performance
  • • Automatic batching for efficiency
  • • Configurable batch size and intervals
  • • Async processing to avoid blocking
🛡️ Reliability
  • • Retry logic with exponential backoff
  • • Circuit breaker for fault tolerance
  • • Max buffer size to prevent memory leaks
🔍 Query & Streaming
  • • Query API for log search
  • • Live tail with Server-Sent Events
  • • Trace ID correlation support
📊 Observability
  • • Internal metrics (sent, errors, latency)
  • • Global metadata support
  • • Structured error serialization

Next Steps

Choose your SDK and follow the documentation to integrate LogWard into your application. Each SDK page includes:

  • Installation instructions
  • Quick start examples
  • Configuration options
  • Framework middleware integration
  • API reference