2.0.0 • Published 4 months ago

generate-it-logger v2.0.0

Weekly downloads
39
License
MIT
Repository
github
Last release
4 months ago

generate-it-logger

This logger uses Winston under the hood. It is a simple one liner installation to convert plain old console logs to formatted loggin based on the apps packag.json file.

How to use

Just include this package once and before everything else:

import 'generate-it-logger';

That is it.

What happens

The package will read your API's package json file and use this data to better format the console logs, read this packages index.js file for how.

What is configurable

You can configure this package with env variables (ie a .env file or real env vars).

To use the normal console logger, set either VERBOSE to true/TRUE

For example

VERBOSE=TRUE
2.0.0

4 months ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago