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

@dzeio/logger

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dzeio/logger

My Personnal Logger

  • 2.0.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
488
increased by52.02%
Maintainers
1
Weekly downloads
 
Created
Source

@dzeio/logger

A Better logger for your test

Install

For the browser via unpkg use it from Unpkg or download the file locally

<script src="https://unpkg.com/@dzeio/logger/dist/browser.js"></script>
<script>
// Two Elements are available
var logger = new Logger('prefix') // To initialize a new Logger
// or
initConsole() // this will repace the default console by the logger
</script>

Via Yarn/NPM

yarn add @dzeio/logger
# or
npm i @dzeio/logger

Usage

As the Logger Implements the console the usage don't vary on their function BUT you have more control

ex:

import Logger from '@dzeio/logger' // Import the class
const logger = new Logger('prefix') // initialize it
// or
import { logger } from '@dzeio/logger' // Import already initialized one

// You can block Logging for some time
Logger.isBlocked(true) // false to unblock

FAQs

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