Skip to content

v0.1.1 - Environment-Aware Logging

Choose a tag to compare

@AbdulSayyed AbdulSayyed released this 06 Jul 00:03
· 41 commits to main since this release

πŸš€ Environment-Aware Debug Logging

What's New

  • βœ… Smart Development Detection: Automatically detects dev vs production
  • βœ… Conditional Debug Logging: Debug messages only in development
  • βœ… Clean Production Output: No debug noise in production environments
  • βœ… Better Developer Experience: Detailed logging for troubleshooting

Changes

  • Debug messages now only appear when hostname === 'localhost' or similar dev conditions
  • Added [AGS-Markmap Debug] prefix for easy identification
  • Production environments get clean console output

Upgrade

module:
  imports:
    - path: github.com/agsayyed/ags-markmap
      version: v0.1.1  # ← Update to latest

See CHANGELOG.md for full details.