0.0.3 • Published 1 year ago

@kudos-protocol/logging v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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:

VariableDescriptionDefault
LOG_LEVELThe log level.info
LOG_PRETTYWhether to pretty print the logs.false
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago