# logger-web

> A logging utility for the web!

Latest version **3.0.3** (published 2020-12-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install logger-web
pnpm add logger-web
yarn add logger-web
bun add logger-web
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.3 |
| Published | 2020-12-30 |
| First published | 2020-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 10.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | K.C.Ashish Kumar |
| Maintainers | kcak11.npm |
| Keywords | logger-web, console, log, debug, info, warn |

## Links

- npm: https://www.npmjs.com/package/logger-web
- Repository: https://github.com/npx-bin/logger-web
- Homepage: https://github.com/npx-bin/logger-web#readme
- Issues: https://github.com/npx-bin/logger-web/issues
- npm.io page: https://npm.io/package/logger-web

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads
- [child-process-debug](https://npm.io/package/child-process-debug.md) — 695 weekly downloads

## Recent versions

- 3.0.3 (latest) — 2020-12-30
- 3.0.2 — 2020-06-30
- 3.0.1 — 2020-06-30
- 3.0.0 — 2020-06-29
- 2.1.1 — 2020-06-29
- 2.1.0 — 2020-06-28
- 2.0.0 — 2020-06-26
- 1.5.0 — 2020-06-25
- 1.4.0 — 2020-06-25
- 1.3.0 — 2020-06-25
- 1.2.0 — 2020-06-25
- 1.1.0 — 2020-06-25
- 1.0.0 — 2020-06-25

## README

# 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 )

---
_Source: https://npm.io/package/logger-web · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
