Socket
Book a DemoInstallSign in
Socket

@eucalyptusvc/pino-logger

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@eucalyptusvc/pino-logger

Pino logger wrapper for euc applications.

1.0.33
unpublished
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@eucalyptusvc/pino-logger

Pino logger wrapper for euc applications.

Install

With yarn:

yarn add @eucalyptusvc/pino-logger

With npm:

npm install @eucalyptusvc/pino-logger

Usage

import pinoLogger from '@eucalyptusvc/pino-logger';

const logger = pinoLogger();

logger.info('hello world');

const child = logger.child({ a: 'property' });
child.info('hello child!');

Default options

// Pino.Logger Options

const pinoOptions = {
  redact: {
    paths: ['args.password'],
    censor: '**REMOVING_PASSWORD**',
  },
  level: process.env.NODE_ENV === 'development' || !process.env.NODE_ENV ? 'debug' : 'info',
};

const infoProps = {
  environment: process.env.ENVIRONMENT,
  application: process.env.APPLICATION,
};

Development

  • Install dependencies using yarn install or npm install
  • Start development server using yarn watch

FAQs

Package last updated on 10 Oct 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.