Socket
Socket
Sign inDemoInstall

@benhinchley/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

@benhinchley/log

simple logger for node


Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

log

a simple logger for node

Table of Contents
  • [Install](#install)
  • [Usage](#usage)
  • [License](#license)

Install

# if you are using yarn
$ yarn add @benhinchley/log

# or if you are using npm
$ npm install --save @benhinchley/log

Usage

const log = require("@benhinchley/log")()

log.info("this is some info")
log.notice("something to take notice of")
log.warning("just warning you")
log.error(new Error("oops something went wrong"))

License

MIT © Benjamin Hinchley

FAQs

Package last updated on 14 May 2017

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