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

better-logs

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

better-logs

Really flexible and fast logger for web servers, applications and daemons

  • 1.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-79.31%
Maintainers
1
Weekly downloads
 
Created
Source

Even Better Logs for NodeJS

npm package

Build status Dependency Status Known Vulnerabilities Gitter

We've found this logger to be immensely useful and flexible for us when we develop and work. Hopefully you would find it useful as well!

npm install --save better-logs

Usage

var logs = require('better-logs')(options);

In your code:

var log = require('better-logs')('section');

Then when you want to log stuff:

log.info("This is a normal operation.", someVar1, someVar2, "strings");
log.warn("This is a suspicious behaviour...");
log.error("This is a failure!", err);

For more about this awesome logger, see the full docs.

Contributions welcome!

Credits

This library was initially made by the awesome team of engineers at Diamond.

If you haven't already, make sure you install Diamond!

Keywords

FAQs

Package last updated on 17 May 2016

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