@kudos-protocol/logging

0.0.3 • Public • Published

Logging

Overview

This is a helper library for logging, a wrapper around pino.

Likely you won't want to use this directly, but it's used as part of other @kudos-protocol libraries.

Usage

import log from '@kudos-protocol/logging';

log.info('Hello World');

Configuration

The logger can be configured by setting the following environment variables:

Variable Description Default
LOG_LEVEL The log level. info
LOG_PRETTY Whether to pretty print the logs. false

Readme

Keywords

Package Sidebar

Install

npm i @kudos-protocol/logging

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

4.34 kB

Total Files

8

Last publish

Collaborators

  • mankins