← Back to the directory
Community listing This entry is based on publicly available sources and was not created by the owner. Is this your website?
Claim for free
· Standard Standard-Status
llmstxt.info directory · Standard

LogLayer

loglayer.devDeveloper Tools
Community listing llms.txt reachable AI Impact Score 95/100 · A

The organization LogLayer uses the llms.txt standard for better discoverability by AI systems. Industry: Developer Tools. The website loglayer.dev provides its llms.txt at https://loglayer.dev/llms.txt. Listed since 19 March 2026.

Under GDPR Art. 17 you can request the deletion of your data. Report a legal violation (Art. 16 DSA) →
llms.txt — current content Open ↗
# LogLayer > A structured logging library with a fluent API for Typescript / Javascript. It separates log data into context (persistent), metadata (per-message), and errors with support for 25+ transports and plugins. ## Installation ``` npm install loglayer ``` ## Quick Start ```typescript import { LogLayer, ConsoleTransport } from 'loglayer' import type { ILogLayer } from 'loglayer' const log: ILogLayer = new LogLayer({ transport: new ConsoleTransport({ logger: console, }), }) log.info('Hello world!') ``` ## Log Levels ```typescript log.trace('Detailed debugging') log.debug('Debug information') log.info('Informational message') log.warn('Warning message') log.error('Error occurred') log.fatal('Critical failure') // Multiple parameters log.info('User', 123, 'logged in') // Tagged template syntax (use withMetadata for structured data) log.info`User ${userId} logged in` log.warn`Request ${requestId} took ${duration}ms` ``` ## Tagged Template Syntax Log methods accept tagged templates directly — no special setup required. ```typescript const userId = '123' const count = 42 // Simple interpolations work great log.info`User ${userId} logged in` // Multiple values log.warn`Request ${requestId} completed in ${duration}ms with status ${status}` // Fluent chains still work log.withMetadata({ env: 'production' }) .withContext({ service: 'api' }) .info`Processing ${taskCount} items` ``` **Behavior:** Interpolations are converted using `String()`. For str […truncated]