@loglayer/transport-pretty-terminal
Version:
Interactive pretty log output in the terminal for the LogLayer logging library.
31 lines (19 loc) • 1.69 kB
Markdown
# Pretty Terminal Transport for LogLayer
[](https://www.npmjs.com/package/@loglayer/transport-pretty-terminal)
[](https://www.npmjs.com/package/@loglayer/transport-pretty-terminal)
[](http://www.typescriptlang.org/)
A transport for the [LogLayer](https://loglayer.dev) logging library that pretty-prints logs printed in the terminal.

## Features
- 🎨 **Color-coded Log Levels** - Each log level has distinct colors for quick visual identification
- 🔍 **Interactive Selection Mode** - Browse and inspect logs in a full-screen interactive view
- 📝 **Detailed Log Inspection** - Examine individual log entries with formatted data and context
- 🔎 **Search/Filter Functionality** - Find specific logs with powerful filtering capabilities
- 💅 **JSON Pretty Printing** - Beautifully formatted structured data with syntax highlighting
- 🎭 **Configurable Themes** - Choose from pre-built themes or customize your own colors
## Next.js / browser support
The Pretty Terminal does not work in a browser or Next.js as Pretty Terminal has dependencies that are incompatible with
in a Next.js environment.
Use [Simple Pretty terminal](https://loglayer.dev/transports/simple-pretty-terminal) instead.
## Installation
Visit the [Pretty Terminal docs](https://loglayer.dev/transports/pretty-terminal) for installation and usage.