Skip to content

Releases: anishdevtech/betterlogs

v1.0.6: Patch Fix for Imports.

28 Dec 12:18

Choose a tag to compare

🐛 Bug Fixes

  • Fixed package.json exports configuration.
  • Resolved "Module not found" errors for ESM/CommonJS imports.
  • Added search keywords for Discord/Monitoring.

V1.0.5

28 Dec 09:11
524b74d

Choose a tag to compare

v1.0.5: Discord Transports, Smart Filtering & Production Stability

BetterLogs v1.0.5 introduces a robust Transport system for external integrations, granular log management, and enhanced production stability.

Key Features

  • Discord Integration: Stream critical logs directly to Discord Webhooks with rich embeds.
  • Smart Filtering: Declarative control to filter logs by minLevel, onlyLabels, or content before sending to transports.
  • Granular Control (.with): Fluent API to force-send or mute specific logs (e.g., log.with({ discord: true }).success(...)).
  • Async File Logging: Non-blocking file writes with automatic directory creation for Node.js environments.
  • Robustness: Added safeStringify for circular JSON references and stricter TypeScript definitions.

Installation

npm install @anishsharma/betterlogs@1.0.5

Full Changelog: https://github.com/anishdevtech/betterlogs/commits/1.0.5