1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-04-23 03:12:12 +00:00
dependabot[bot] 28fae44021
build(deps-dev): bump eslint from 7.32.0 to 8.35.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-27 06:59:35 +00:00
..
2021-09-28 15:57:36 +02:00
2021-08-19 14:14:38 +02:00
2020-07-06 11:08:49 +02:00
2021-02-08 12:44:48 +01:00
2020-07-07 11:13:35 +02:00
2020-12-08 16:07:30 +01:00

@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