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

logkit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logkit

A simple logger for node

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-logkit

A minimal logger for node cli.

NPM version Build Status


Installation

This package is available on npm as logkit.

npm install logkit

API

Load the logger by using require

var l = require('logkit');

Choose the log level.

l.level = 'verbose'

You can use error, warning (default) or verbose.

Let's print your stuffs.

l.e('An error message'); // Tue Apr 28 2015 22:19:30 GMT+0200 (CEST): [error] An error message
l.w('A warning message'); // Tue Apr 28 2015 22:20:21 GMT+0200 (CEST): [warning] A warning message
l.v('A message'); // Tue Apr 28 2015 22:20:53 GMT+0200 (CEST): [verbose] A message

FAQs

Package last updated on 28 Apr 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