Skip to content

vigneshnrfs/winston-node-monitor-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

winston-node-monitor-ui

Winston log transport for node-monitor-ui. Allows you to stream the logs to the dashboard.

Installation

npm install winston-node-monitor-ui --save

Usage

var winston = require('winston');
require('winston-node-monitor-ui');
winston.add(winston.transports.NodeMonitorUI, {
    port: 3001,
    level: 'info'
    });
  • port is the http port on which the ui interface will be served. Defaults to 3001.

  • level is the log level for winston.

    Note: There is an optional config field host which defaults to 'localhost'. This is present for future versions when node-monitor-ui supports cluster/multiple node processess.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published