JSPM

  • Created
  • Published
  • Downloads 2651
  • Score
    100M100P100Q110440F
  • License MIT

Logging designed to be used with lambda-monitor

Package Exports

  • lambda-monitor-logger

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lambda-monitor-logger) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

lambda-monitor-logger

Build Status Test Coverage Dependabot Status Dependencies NPM Downloads Semantic-Release Gardener

Logging designed to be used with lambda-monitor

Install

Install with npm:

$ npm install --save lambda-monitor-logger

Usage

const logger = require('lambda-monitor-logger');

logger.error('Keyboard not found. Press F1 to Resume');
// => ERROR: Keyboard not found. Press F1 to Resume

This logger will simply log to console and prefix with the debug level.

The available levels are: debug, info, warning, error, critical.