@ejhayes-nestjs-common/logger
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

logger

This provides logging functionality within NestJS. Functionality includes:

  • Colored logging for non production environment
    • Environment configuration can be set to any value other than production
  • Properly encoded production logging suitable for Elastic stack (see https://www.elastic.co/guide/en/ecs/current/ecs-log.html)
    • Environment configuration must be set to production

Usage

For more use cases, see examples

Readme

Keywords

none

Package Sidebar

Install

npm i @ejhayes-nestjs-common/logger

Weekly Downloads

0

Version

0.2.2

License

ISC

Unpacked Size

5.92 kB

Total Files

8

Last publish

Collaborators

  • ejhayes