generate-it-logger

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i generate-it-logger

Weekly Downloads

115

Version

2.0.0

License

MIT

Unpacked Size

4.49 kB

Total Files

4

Last publish

Collaborators

  • acrontum_sanchez
  • acrontum_eicken
  • acr-p-mcgowan
  • carmichael.john
  • acrontum_carmichael