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

nuclide-logging

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuclide-logging

Provides logging on both Nuclide client and Nuclide server

  • 0.0.21
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-87.5%
Maintainers
1
Weekly downloads
 
Created
Source

nuclide-logging

A node package designed for logging on both Nuclide client and Nuclide server. It is based on log4js with the ability to lazy initialize and update config after initialized.

Usage

var logger = require('nuclide-logging').getLogger();

logger.deubg(...);
logger.error(...);

Update Configuration

The logger will use the default configuration in nuclide-logging/lib/config.js to initialize nested log4js logger. However, one could update its configuration by calling

var logger1 = require('nuclide-logging').getLogger();
require('nuclide-logging').updateConfig(config, option);
// logger1's configuration is updated as well.

Note this will also update the configuration of logger who has already been created.

FAQs

Package last updated on 23 Jun 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