@alexd1971/logger

1.0.2 • Public • Published

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");

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    2
  • 1.0.1
    1
  • 1.0.0
    2

Package Sidebar

Install

npm i @alexd1971/logger

Weekly Downloads

5

Version

1.0.2

License

UNLICENSED

Last publish

Collaborators

  • alexd1971