# @hammerhq/logger

> 😎 Cool looking logs for everyone!

Latest version **2.2.0** (published 2023-11-26) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @hammerhq/logger
pnpm add @hammerhq/logger
yarn add @hammerhq/logger
bun add @hammerhq/logger
```

## 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 | 2.2.0 |
| Published | 2023-11-26 |
| First published | 2022-07-24 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 40.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Barış DEMİRCİ |
| Maintainers | hammerhq |
| Keywords | hammer, log, logger, configurable, mock, mocking, plugin |

## Links

- npm: https://www.npmjs.com/package/@hammerhq/logger
- Repository: https://github.com/TheHammerHQ/hammer
- Homepage: https://github.com/TheHammerHQ/hammer#readme
- Issues: https://github.com/TheHammerHQ/hammer/issues
- npm.io page: https://npm.io/package/@hammerhq/logger

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^4.1.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
- [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

- 2.2.0 (latest) — 2023-11-26
- 2.1.0 — 2023-11-26
- 2.0.0 — 2023-11-26
- 1.0.0 — 2023-11-21
- 0.2.0 — 2023-11-21
- 0.1.5 — 2022-12-07
- 0.1.3 — 2022-10-24
- 0.1.3-alpha.0 — 2022-10-24
- 0.1.2-alpha.0 — 2022-10-11
- 0.1.1-alpha.0 — 2022-10-11
- 0.1.0-alpha.0 — 2022-10-11
- 0.0.4 — 2022-07-26
- 0.0.3 — 2022-07-26
- 0.0.2 — 2022-07-26
- 0.0.1 — 2022-07-24

## README

<p align="center">
    <img src="https://avatars.githubusercontent.com/u/109850261" alt="Logo" width="160" height="160" />
    <h3 align="center">Hammer Framework Logger Package</h3>
    <p align="center">
        😎 Cool looking logs for everyone!
        <br />
        <a href="https://338.rocks/discord"><strong>Get support »</strong></a>
        <br />
        <br />
        <a href="https://github.com/TheHammerHQ/issues">Report Bug</a>
        ·
        <a href="https://hammer.338.rocks/docs/packages/logger">Documentation</a>
    </p>
</p>

# 📦 Installation

```bash
$ npm install @hammerhq/logger
```

# 🚀 Usage

```js
const { Logger } = require("@hammerhq/logger");

const logger = new Logger("[MyLogger]:");

logger.log("Hello World!");
logger.info("Info message");
logger.success("Success message");
logger.warning("Warning message");
logger.error("Error message");
logger.event("Event message");
logger.debug("Debug message");
```

![output](./example.png)

# 🧦 Looking For Contributors

We are looking for contributors to actively work on Hammer and to contribute to the repos. There is still lots of work to do. If you are interested in contributing, please join our [Discord server](https://338.rocks/discord). (There will be a surprise for early contributors!)

# 🔑 License

Copyright © 2022 [Barış DEMİRCİ](https://github.com/barbarbar338).

Distributed under the [GPL-3.0](https://www.gnu.org/licenses/gpl-3.0.html) License. See `LICENSE` for more information.

# 🧦 Contributing

This repo is open for #hacktoberfest. Feel free to use GitHub's features.

1. Fork the Project
2. Create your Feature Branch (`git checkout -b feature/my-feature`)
3. Run prettier (`npm run format`)
4. Commit your Changes (`git commit -m 'my awesome feature my-feature'`)
5. Push to the Branch (`git push origin feature/my-feature`)
6. Open a Pull Request

# ⭐️ Show your support

Give a ⭐️ if this project helped you!

# ☎️ Contact

-   Mail: hammer@338.rocks
-   Discord: https://338.rocks/discord
-   Website: https://hammer.338.rocks
-   Documentation: https://hammer.338.rocks/docs/packages/logger

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