Socket
Socket
Sign inDemoInstall

logger-web

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logger-web

A logging utility for the web!


Version published
Weekly downloads
512
decreased by-3.94%
Maintainers
1
Weekly downloads
 
Created
Source

logger-web

A logging utility for the web!

Installation:

npm i logger-web

Usage:

import { Logger } from 'logger-web';
(or)
const Logger = require("logger-web").Logger;
(or)
const { Logger } = require("logger-web");
Logger.info("some info text . . .");
Logger.log("some log text . . .");
Logger.warn("some warning text . . .");
Logger.debug("some debug text . . .");

Turn on/off the logging in browser: In the browser's console, type the following:

Logger.enable(); // For enabling the logging
Logger.disable(); // For disabling the logging
Logger.isEnabled(); // For checking if the logging is enabled

License: MIT ( https://mit-license.kcak11.com )

Keywords

FAQs

Package last updated on 30 Dec 2020

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