LogTape 0.11.0 release notes

洪 民憙 (Hong Minhee) @hongminhee@hackers.pub

LogTape 0.11.0 introduces enhanced structured logging capabilities and a new JSON Lines formatter, improving how developers handle logs across JavaScript runtimes. The update allows direct object logging, where structured data can be logged by passing an object as the first argument to any log method, and introduces a universal property interpolation with `{*}`. This placeholder streamlines the inclusion of all properties from structured data without explicitly naming each one. Additionally, the new JSON Lines formatter outputs each log record as a JSON object on a separate line, ideal for log aggregation systems and analysis tools, with customizable options for category separation, message formatting, and properties handling. These enhancements aim to make logs more searchable and analyzable, reduce boilerplate, and improve integration with log management systems, all while maintaining backward compatibility and LogTape's zero-dependency promise.

Read more →
4

❤️

4 people reacted.

어느 한 개발자입니다.

コミュニズム アナキズム ニヒリズム

I 💖 :)

Geek dans l’âme, je suis amoureux de la 🌿nature🌦️ (même si elle n’existe pas), curieux et rêveur. Je me réjouis aussi qu’elle vienne à moi en pixels, en pigments, ou histoires :)

Ah oui, j’adore les 🖋️histoires !
Et les 📚livres ! Beaucoup !
🏰Moyen Âge, 🗝️mythes ☘️celtes et ❄️nordiques, ⛩️Tao, 🀄kung-fu, ⚔️AMHE, 🎲jeux de rôles, 🎨illustrations, 🖥Unix🐚, 🦄 '(Org-Mode)

Mon 💎joyau ?
La plus belle des magies, c'est le pouvoir de ✨ré-enchanter les 💞cœurs et le 🌍monde.