Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
A super lightweight console logging library to help make things simple. This is very lightweight, it's meant only to make loggin easy - nothing more and nothing less.
sklog is intended to be a lightweight library for console logging. This was born out of laziness - it's very basic and simple to use. I didn't need 95% of the functionality in Winston's logger and I don't care about putting logs in a DB, if you need more functionality then check out Winston's great logger - it's full of features and other cool stuff.
From your project directory:
$ npm install sklog
Within your application:
var log = require("sklog");
log("no loglevel");
log(0,"This is Information");
log(1,"This is a Warning");
log(2,"This is an Error");
log(3,"Non-existant log level");
log(3,{This:"Is an object",And:"I haas keys"});
Outputs:
[ INFO]: This is Information
[ WARN]: This is a Warning
[ERROR]: This is an Error
[ INFO]: Non-existant log level
[ INFO]:
This : Is an object
And : I haas keys
Long answer: yes, what more do you need?
FAQs
A super lightweight console logging library to help make things simple. This is very lightweight, it's meant only to make loggin easy - nothing more and nothing less.
The npm package sklog receives a total of 1 weekly downloads. As such, sklog popularity was classified as not popular.
We found that sklog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.