1.0.2 • Published 8 years ago

@alexd1971/logger v1.0.2

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
8 years ago

Logger

Description

Simple client for log-server based on winston project

Logger uses HTTP as transport and requires running log-server

Installation

$ npm install @alexd1971/logger --save

Usage

var options = {
    host: 'localhost', // optional (default: localhost)
    port: 4114 //optional (default: 4114)    
};

// Options can be omitted. If so defaults will be used
var logger = require('@alexd1971/logger').create(options);

logger.info("Super important log message");
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago