eportal-util-logger

1.0.2 • Public • Published

Eportal Util Logger

Latest NPM Release NPM Downloads

This lib used by eportal internal projects for logging

Features

  • Provides loggers for local and aws env

ENV Specific setting

In local environment, no env var is required to be setup

For AWS envm, the env vars required to be setup are

LOG_LEVEL, AWS_LOG_GROUP_NAME,AWS_LOG_GROUP_NAME,
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION

Provided role assumed by hosting service has access to cloudwatch

Installing

Using npm:

$ npm install eportal-util-logger

Using bower:

$ bower install eportal-util-logger

Using yarn:

$ yarn add eportal-util-logger

Using pnpm:

$ pnpm add eportal-util-logger

Usage

const logger = require("eportal-util-logger")

logger.info("hello logger")

License

NA

Readme

Keywords

Package Sidebar

Install

npm i eportal-util-logger

Weekly Downloads

0

Version

1.0.2

License

UNLICENSED

Unpacked Size

2.72 kB

Total Files

5

Last publish

Collaborators

  • sshinde