Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fm-log

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fm-log - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

8

lib/LogFactory.js

@@ -47,3 +47,3 @@ // jscs:disable requireNamedUnassignedFunctions

instance( prefix, stream ) {
const logger = new Logger( prefix, stream );
const logger = new Logger( prefix, stream || this.__defaultStream );
logger.enableLogging = !this.isSilent;

@@ -56,3 +56,3 @@ logger.__minLevel = this.minLevel;

silence( beSilent ) {
beSilent = typeof beSilent === "undefined" ? true : false;
beSilent = typeof beSilent === "undefined";

@@ -75,4 +75,8 @@ this.isSilent = beSilent;

}
to( stream ) {
this.__defaultStream = stream;
}
}
module.exports = new LogFactory();
{
"name": "fm-log",
"version": "4.2.1",
"version": "4.3.0",
"description": "Console logging facility for Node",

@@ -5,0 +5,0 @@ "main": "lib/log.js",

fm-log
======
[![npm Package](https://npmjs.org/package/fm-log)](https://img.shields.io/npm/v/fm-log.svg)
[![](https://travis-ci.org/fairmanager/fm-log.svg?branch=master)](https://travis-ci.org/fairmanager/fm-log)

@@ -4,0 +5,0 @@ [![Coverage Status](https://coveralls.io/repos/fairmanager/fm-log/badge.svg?branch=master&service=github)](https://coveralls.io/github/fairmanager/fm-log?branch=master)

Sorry, the diff of this file is not supported yet

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