# @fal-works/tiny-logger

> Emit logs with prefix.

Latest version **0.1.3** (published 2021-01-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @fal-works/tiny-logger
pnpm add @fal-works/tiny-logger
yarn add @fal-works/tiny-logger
bun add @fal-works/tiny-logger
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2021-01-23 |
| First published | 2021-01-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | FAL |
| Maintainers | fal-works |
| Keywords | log, logger |

## Links

- npm: https://www.npmjs.com/package/@fal-works/tiny-logger
- npm.io page: https://npm.io/package/@fal-works/tiny-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.1.3 (latest) — 2021-01-23
- 0.1.2 — 2021-01-16
- 0.1.1 — 2021-01-14
- 0.1.0 — 2021-01-14

## README

# tiny-logger

Creates custom functions that emit logs with prefix.

## on Node.js

```js
import * as logger from "@fal-works/tiny-logger";

const log = logger.create("[any prefix]", process.stdout, console.log);
const logSimple = logger.createSimple("[any prefix]", process.stdout);
```

## on browsers

```js
import * as logger from "@fal-works/tiny-logger";

const log = logger.create("[any prefix]", console.log);
```

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