# @ztwx/logger

> frontback logger

Latest version **0.0.3** (published 2020-04-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install @ztwx/logger
pnpm add @ztwx/logger
yarn add @ztwx/logger
bun add @ztwx/logger
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2020-04-02 |
| First published | 2020-04-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | zhantewei |
| Maintainers | lousicong, zhantewei |
| Keywords | logger, log, loggerFactory, ztwx |

## Links

- npm: https://www.npmjs.com/package/@ztwx/logger
- npm.io page: https://npm.io/package/@ztwx/logger

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

- 0.0.3 (latest) — 2020-04-02

## README

@ztwx/logger
---
Frontback logger tools.

default for terminal.


### logger level 

- debug
- info
- warn
- error

### use

```
const {LoggerFactory}=require("@ztwx/logger");
const log=LoggerFactory.getLogger(__filename);

log.info("hello info")
log.debug("hello debug)
```

### specify logger level
```shell 
LoggerFactory.config({
  level:"info"
})
```
this change will effects global logger.

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