# @ts4/log

> LOG_LOKI_URL=https://user:password@host?job=job_name@level=trace

Latest version **1.0.56** (published 2023-08-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ts4/log
pnpm add @ts4/log
yarn add @ts4/log
bun add @ts4/log
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.56 |
| Published | 2023-08-25 |
| First published | 2020-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 8 |
| Unpacked size | 24.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ilia Skripchenko |
| Maintainers | ilya7u |

## Links

- npm: https://www.npmjs.com/package/@ts4/log
- npm.io page: https://npm.io/package/@ts4/log

## Dependencies (8)

- [pino](https://npm.io/package/pino.md) ^8.14.2
- [@ts4/env](https://npm.io/package/@ts4/env.md) ^1.0.27
- [dumper.js](https://npm.io/package/dumper.js.md) ^1.3.1
- [pino-loki](https://npm.io/package/pino-loki.md) ^2.1.3
- [pino-pretty](https://npm.io/package/pino-pretty.md) ^10.2.0
- [pino-mongodb](https://npm.io/package/pino-mongodb.md) ^4.3.0
- [reflect-metadata](https://npm.io/package/reflect-metadata.md) ^0.1.13
- [json-stringify-safe](https://npm.io/package/json-stringify-safe.md) ^5.0.1

## Recent versions

- 1.0.56 (latest) — 2023-08-25
- 1.0.55 — 2023-08-25
- 1.0.54 — 2023-07-29
- 1.0.53 — 2023-07-29
- 1.0.52 — 2023-07-21
- 1.0.51 — 2023-07-21
- 1.0.50 — 2023-07-21
- 1.0.49 — 2023-07-21
- 1.0.48 — 2023-07-20
- 1.0.47 — 2023-07-20
- 1.0.46 — 2023-07-20
- 1.0.45 — 2023-05-25
- 1.0.44 — 2023-03-24
- 1.0.43 — 2022-11-06
- 1.0.42 — 2022-11-06
- … 51 more at https://npm.io/package/@ts4/log/versions

## README

# @ts4/log

## Environment

LOG_LOKI_URL=https://user:password@host?job=job_name@level=trace

LOG_MONGO_URL='mongodb://localhost:27017/database_name?collection=collection_name&level=trace'

LOG_TARGET=json

LOG_PRETTY=false
LOG_PRETTY=0

LOG_JSON=true
LOG_JSON=1

<https://github.com/AckeeCZ/cosmas>

<https://github.com/aigoncharov/class-logger>
<https://github.com/dormd/rich-logger-decorator>

<https://github.com/Coreoz/simple-logging-system>

<https://github.com/jsumners/abstract-logging>

<https://github.com/expressjs/morgan>
<https://github.com/pinojs/pino>
<https://github.com/baryon/tracer>
<https://github.com/Olian04/better-logging>
<https://github.com/winstonjs/winston>
<https://github.com/cabinjs/cabin>
<https://github.com/trentm/node-bunyan>
<https://github.com/download/ulog>
<https://github.com/xpl/ololog>
<https://github.com/download/anylogger>
<https://github.com/klaussinani/signale>
<https://github.com/pimterry/loglevel>
<https://github.com/NarrativeScience/log.io>
<https://github.com/onury/tilo>

<https://github.com/mthenw/frontail>

<https://github.com/jasyes/pino-loki-transport>
<https://github.com/Julien-R44/pino-loki>
<https://github.com/SirCremefresh/workers-loki-logger>
<https://github.com/JaniAnttonen/winston-loki>
<https://github.com/a-smiggle/loki-logger-ts>

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