Socket
Book a DemoInstallSign in
Socket

@voiceflow/logger

Package Overview
Dependencies
Maintainers
25
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@voiceflow/logger

A standardized package for logging built on `pino`.

latest
npmnpm
Version
2.6.0
Version published
Weekly downloads
83
-38.97%
Maintainers
25
Weekly downloads
 
Created
Source

logger

A standardized package for logging built on pino.

Usage

import { createLogger, LogLevel, LogFormat } from '@voiceflow/logger';

const logger = createLogger({ format: LogFormat.JSON, level: LogLevel.INFO });

const inlineLogger = createLogger({ format: LogFormat.INLINE, level: LogLevel.WARN });

const detailedLogger = createLogger({ format: LogFormat.DETAILED, level: LogLevel.TRACE });

logger.trace('this is a trace log');
logger.debug('this is a debug log');
logger.info('this is an info log');
logger.warn('this is a warning log');
logger.error('this is an error log');
logger.fatal('this is a fatal log');

FAQs

Package last updated on 07 Jan 2026

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