Home

Awesome

<h1 align="center"> Studio Emojilog </h1> <p align="center"> 🌈 A pretty printer for the Studio Log format with emoji ✨ </p> <p align="center"> <a href="https://www.npmjs.com/package/@studio/emojilog"> <img src="https://img.shields.io/npm/v/@studio/emojilog.svg" alt="npm Version"> </a> <a href="https://semver.org"> <img src="https://img.shields.io/:semver-%E2%9C%93-blue.svg" alt="SemVer"> </a> <a href="https://travis-ci.org/javascript-studio/studio-emojilog"> <img src="https://img.shields.io/travis/javascript-studio/studio-emojilog/master.svg" alt="Build Status"> </a> <a href="https://opensource.org/licenses/MIT"> <img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License"> </a> </p>

Features

Usage

Assuming you have the following ndjson in a file called logs.json:

{"ts":1486630378584,"ns":"Server","topic":"launch","msg":"My Service","data":{"port":433}}

Send the logs to the emojilog command for pretty printing:

❯ cat logs.json | emojilog
09:52:58 🚀 Server My Service port=433

Install

❯ npm i -g @studio/emojilog

CLI Options

Related modules

License

MIT

<div align="center">Made with ❤️ on 🌍</div>