Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

logem

Codebrahma20MIT1.0.0

Opinionated logger for terminal with papertrail integration

log, logger, winston, papertrail

readme

logem

Opinionated logger based on top of winston with Papertrail integration.

Demo

Terminal gif

How to use

var logem = require('logem');

logem.debug({ objects: [ 'allowed' ] });
logem.info('An informational message');
logem.warn('⚠️  Warning !!');
logem.error('ERROR: blah');

Environment variables

The package uses environment variables instead of configurations in order to be provide the ability to change logging behavior without changing the code.

ENV Default Desc
LOG_LEVEL info severity of logging needed
LOG_SERVICE_HOST | Host of Papertrail service
LOG_SERVICE_PORT | Port of Papertrail service

How to install

npm install logem

Built by: Codebrahma