UNPKG

@loglayer/transport-simple-pretty-terminal

Version:

Pretty log output in the terminal / browser / Next.js for the LogLayer logging library.

23 lines (14 loc) 1.46 kB
# @loglayer/transport-simple-pretty-terminal [![NPM Version](https://img.shields.io/npm/v/@loglayer/transport-simple-pretty-terminal)](https://www.npmjs.com/package/@loglayer/transport-simple-pretty-terminal) [![Downloads](https://img.shields.io/npm/dm/@loglayer/transport-simple-pretty-terminal)](https://www.npmjs.com/package/@loglayer/transport-simple-pretty-terminal) [![TypeScript](https://img.shields.io/badge/TypeScript-Yes-blue)](https://www.typescriptlang.org/) A transport for the [LogLayer](https://loglayer.dev) logging library that pretty-prints logs printed in the terminal. [Pretty terminal](https://loglayer.dev/transports/pretty-terminal)'s simpler cousin with no interactive features. Designed for use with Next.js and apps running concurrently. Supports both Node.js and browser environments. ![Simple Pretty Terminal Transport](https://loglayer.dev/images/simple-pretty-terminal/terminal-inline.webp) ## Features - 🎨 **Color-coded Log Levels** - Each log level has distinct colors for quick visual identification - 💅 **JSON Pretty Printing** - Beautifully formatted structured data with syntax highlighting - 🎭 **Configurable Themes** - Choose from pre-built themes or customize your own colors - 🌐 **Browser & Node.js Support** - Works in both Node.js and browser environments ## Installation Visit the [Simple Pretty Terminal docs](https://loglayer.dev/transports/simple-pretty-terminal) for installation and usage.