Socket
Socket
Sign inDemoInstall

winston-logs-display

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

winston-logs-display

Node.js module for express, main purpose of that module is make easy access to winston logs


Version published
Weekly downloads
76
decreased by-7.32%
Maintainers
1
Weekly downloads
 
Created
Source

winston-logs-display

Node.js module for express, main purpose of that module is make easy access to winston logs.

To install that module use command

npm install winston-logs-display

And there is simple example of using it

var app = require('express')();
var winston = require('winston');
var logger = new (winston.Logger)({
    transports: [
        new (winston.transports.File)({
            filename: 'logs/winston.log'
        })
    ]
});
require('winston-logs-display')(app, logger);

After that you can see all logs by url http://yourhost:port/logs.

Keywords

FAQs

Package last updated on 14 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc