New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

wraplog

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wraplog

logging library

  • 0.1.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-63.64%
Maintainers
1
Weekly downloads
 
Created
Source

Logger library - npmjs' wraplog

  • Last tests against master on CircleCI: CircleCI

  • Install with:

sudo npm install -g node-gyp
npm install wraplog

Note node-gyp would be required installing unix-dgram dependency.

  • Configure using:
# divert everything to console:
export DEBUG=whateverstringwoulddo

# to local syslog
export SYSLOG_FACILITY=local6
export SYSLOG_PROTO=unix
export SYSLOG_UNIX_SOCKET=/dev/log

# to remote syslog
export SYSLOG_FACILITY=local6
export SYSLOG_PROTO=udp
export SYSLOG_PROXY=rsyslog.example.com
export SYSLOG_PORT=514
  • Use it in place of console.*:
const logger = require('wraplog')('appname');
logger.info('foo');
logger.error('bar');

FAQs

Package last updated on 26 Jun 2022

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