# @turbot/log

> Turbot Log Library

Latest version **5.5.0** (published 2023-11-21) · Apache-2.0 license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 5.5.0 |
| Published | 2023-11-21 |
| First published | 2019-04-26 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 27.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Turbot HQ, Inc |
| Maintainers | e-gineer, vhadianto, priguha93 |

## Links

- npm: https://www.npmjs.com/package/@turbot/log
- Repository: https://github.com/turbot/log
- Homepage: https://github.com/turbot/log#readme
- Issues: https://github.com/turbot/log/issues
- npm.io page: https://npm.io/package/@turbot/log

## Dependencies (3)

- [@turbot/utils](https://npm.io/package/@turbot/utils.md) 5.6.0
- [@turbot/errors](https://npm.io/package/@turbot/errors.md) 5.3.0
- [serialize-error](https://npm.io/package/serialize-error.md) 8.1.0

## Recent versions

- 5.5.0 (latest) — 2023-11-21
- 5.4.0 — 2022-06-22
- 5.3.0 — 2021-06-07
- 5.2.0 — 2020-07-30
- 5.1.0 — 2020-04-30
- 5.0.5 — 2020-02-05
- 5.0.4 — 2019-12-27
- 5.0.3 — 2019-12-18
- 5.0.2 — 2019-11-18
- 5.0.1 — 2019-07-17
- 5.0.0 — 2019-07-10
- 5.0.0-beta.1 — 2019-04-26

## README

# turbot-log

## Overview

Logs in Turbot are expected to be:

- JSON format
- Written to stdout

For both Docker and AWS Lambda this is fairly easy to achieve since console.log
from node.js will end up feeding log entries. We can use a tool like Winston to
produce JSON log entries while limiting them to the correct log level.

## Why write a logging package?

We'd prefer to use winston or bunyan or similar, but found all of those packages
unsuitable for our simple requirements. For example, with winston:

1. The logging level cannot be changed per request.
2. The metadata object cannot be replaced, but must be modified inline.

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