0.1.3 • Published 9 years ago

tpc-logger-util v0.1.3

Weekly downloads
10
License
MIT
Repository
github
Last release
9 years ago

Build Status Coverage Status #tpc-logger-util

A simple multi-transport logging utility for node.js based application.

Installation

npm install tpc-logger-util --save

Configuration

Setup the Environment

Set the environment variable TPC_ENV to the required environment.

TPC_ENV=dev

Usage

Like most logging libraries, you create a logger instance and call methods named after the logging levels:

var logger=require('tpc-logger-util');
var log=logger.createLogger('my-app');
log.info('Hello, World!');
log.warn('au revoir', {lang:'fr'});

That's all folks! log into to loggly.com to view the streamed logs based on your environment.

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago