smart-node-logger

smart-node-logger

Usage no npm install needed!

<script type="module">
  import smartNodeLogger from 'https://cdn.skypack.dev/smart-node-logger';
</script>

README

smart-node-logger

This package contains the code used for logging the request.

Installation

This is a Node.js module available through the npm registry. It can be installed using the npm command line tools.

npm install smart-node-logger --save

Tests

npm install
npm test

USAGES

To use this middleware you need to do the following things in your entry level file.

const Logger = require('smart-node-logger');

Dependencies

  • lodash.clonedeep: The lodash method _.cloneDeep exported as a Node.js module.
  • winston: winston is designed to be a simple and universal logging library with support for multiple transports.

Dev Dependencies

None

License

MIT