Releases: anishdevtech/betterlogs
Releases · anishdevtech/betterlogs
v1.0.6: Patch Fix for Imports.
🐛 Bug Fixes
- Fixed
package.jsonexports configuration. - Resolved "Module not found" errors for ESM/CommonJS imports.
- Added search keywords for Discord/Monitoring.
V1.0.5
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.5Full Changelog: https://github.com/anishdevtech/betterlogs/commits/1.0.5