# @strutvane/logs

> v1's logging package: the pipeline and the viewer in one.

Source: https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/packages/logs/

> **Retired: use Logging in @strutvane/framework (ADR-0022), plus @strutvane/log-viewer for the screen instead**

v1's logging package: the pipeline and the viewer in one.

**Use instead:** Logging in @strutvane/framework (ADR-0022), plus @strutvane/log-viewer for the screen

**Before and after:**

```ts
// 0.2: logging is in the framework, configured from .env
Log.channel('payments').warning('Card declined', { invoice: 42 })
```

- **npm:** `@strutvane/logs`
- **Repository:** https://github.com/vishwajit-vm/strutvane-logs
- **Docs:** https://vishwajit-vm.github.io/strutvane-docs/docs/0.2.x/logging/
