# @logmanager/core

> Core Library of logmanager, a logging library that aims to unify multiple logging libraries and makes it possible to use them together

Latest version **1.0.1** (published 2022-07-01) · 0 weekly downloads

## Install

```sh
npm install @logmanager/core
pnpm add @logmanager/core
yarn add @logmanager/core
bun add @logmanager/core
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-07-01 |
| First published | 2022-06-26 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 84.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | radioactive-publish-bot |
| Keywords | logger, log, logging, log manager, core, winston, pino |

## Links

- npm: https://www.npmjs.com/package/@logmanager/core
- Repository: https://gitlab.hobbylos.org/hobbylose-senior-full-stack-developer/logmanager/core
- Issues: https://gitlab.hobbylos.org/hobbylose-senior-full-stack-developer/logmanager/core/-/issues
- npm.io page: https://npm.io/package/@logmanager/core

## Dependencies (3)

- [tslib](https://npm.io/package/tslib.md) ^2.4.0
- [@types/node](https://npm.io/package/@types/node.md) ^18.0.0
- [@logmanager/utils](https://npm.io/package/@logmanager/utils.md) ^1.2.0

## 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
- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K 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

## Recent versions

- 1.0.1 (latest) — 2022-07-01
- 1.0.0 — 2022-06-26

## README

# @logmanager/core

Core Library of logmanager, a logging library that aims to unify multiple logging libraries and makes it possible to use them together

## Installation

```bash
npm i @logmanager/core @logmanager/package-console
```

## Quick Start

```typescript
import { LogManager, LogLevel } from "@logmanager/core"
import { ConsoleLogger } from "@logmanager/package-console"

const logManager = new LogManager(new ConsoleLogger(), LogLevel.VERBOSE)
const someWeirdComponent = logManager.component("some weird component")
someWeirdComponent.fatal("This is a fatal log.")
someWeirdComponent.error("This is a error log.")
someWeirdComponent.warning("This is a warn log.")
someWeirdComponent.info("This is a info log.")
someWeirdComponent.debug("This is a debug log.")
someWeirdComponent.verbose("This is a verbose log.")

// Logs Messages in the format "%symbol%  [%type%] {%component%} >> %message%", for example
// 📢  [fatal] {some weird component} >> This is a fatal log.
```

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