New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

scoped-log

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scoped-log

npmlog with filename prefixes

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

scoped-log

Build Status npm version License

Npmlog with filename prefixes

const log = require('scoped-log')
log.info(__filename, 'hello')
// => info lib/my-module.js hello

Installation

npm install --save scoped-log

Usage

log[level](prefix, messages...)

... where level is one of [silly, verbose, info, http, warn, error].

Set LOG_LEVEL to the level to display logs at. Defaults to info.

Author

© 2016 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Keywords

npmlog

FAQs

Package last updated on 07 Aug 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