🎉 Hyperse Logger has been published.
Hyperse Logger

logger-plugin-stdout

The stdout plugin for Hyperse Logger.

Logger Stdout Plugin

This plugin is the official standard output plugin for Hyperse Logger, designed specifically for Node.js environments. It outputs logs to the terminal (stdout/stderr) in a consistent, structured format, supporting JSON-compatible output for easy log collection and analysis. Ideal for server-side and containerized applications, it ensures your logs are well-formatted, easy to process, and ready for integration with log management systems.

Installation

npm install @hyperse/logger-plugin-stdout

Usage

// @filename: @hyperse/logger-plugin-stdout/dist/index.d.ts
import {
  ,
  ,
} from '@hyperse/logger-plugin-stdout';
import { ,  } from '@hyperse/logger';

const  = ({
  : 'hps-logger',
  : .,
})
  .(())
  .();

.('info message');

Output

stdout output

API

createStdoutPlugin

Prop

Type

StdoutOptions

Prop

Type

On this page