🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

douze-prettify-logs

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

douze-prettify-logs

NDJSON prettifier for Pino logs generated by Douze

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

📜✨ douze-prettify-logs

⚰️ End-of-life disclaimer

This project was a test and will disappear soon. You may fork it or do whatever you want with it.

MIT License Travis CI Build Average issue resolution time Number of open issues

NDJSON prettifier for Pino logs generated by Douze

Features

  • 🕸️ HTTP logger
  • 🌐 Timezone-aware display of times
  • 🏷️ Categories
  • 🚦 Filtering (level, categories)

Installation

$ yarn add -D douze-prettify-logs
# or
$ npm i -D douze-prettify-logs

Usage

$ ts-node your-douze-app.ts | douze-prettify-logs

CLI Options

$ douze-prettify-logs --help
Usage: douze-prettify-logs [options]

NDJSON prettifier for Pino logs generated by Douze.

Options:
  -V, --version              output the version number
  -l, --level <level>        Log level (default: "info")
  -c, --category <category>  Filter by category
  -u, --utc                  Show dates as UTC rather than localized
  -i, --inline               Display extra data inline
  -q, --quiet                Don't display extra data at all
  -n, --no-color             Disable coloring of the output
  -h, --help                 output usage information

Examples:

  • Category filter:
    - Only show API logs:         $ douze-prettify-logs -c api
    - Only show HTTP & API logs:  $ douze-prettify-logs -c http,api
    - Ignore the DB category:     $ douze-prettify-logs -c !db

Keywords

douze

FAQs

Package last updated on 25 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts