# @chargedcloud/logger

Latest version **1.2.0** (published 2023-11-01) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2023-11-01 |
| First published | 2023-01-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | igorpdasilvaa |

## Links

- npm: https://www.npmjs.com/package/@chargedcloud/logger
- npm.io page: https://npm.io/package/@chargedcloud/logger

## Dependencies (2)

- [log](https://npm.io/package/log.md) ^6.3.1
- [log-node](https://npm.io/package/log-node.md) ^8.0.3

## Recent versions

- 1.2.0 (latest) — 2023-11-01
- 1.1.2 — 2023-10-27
- 1.1.1 — 2023-07-12
- 1.0.1 — 2023-07-12
- 1.1.0 — 2023-02-17
- 1.0.0 — 2023-01-20

## README

<div align="center">

# @chargedcloud/logger

Logger is a module to help you log your messages to the console of your **NodeJS** application.

[Installation](#installation) • [Usage](#usage) • [Methods](#methods)

</div>

## Installation

In your project directory, run the following command:

```bash
npm install @chargedcloud/logger
```

## Usage

First, for you create an instance of the logger, you need to import the module:

```js
// CommonJS
const createLogger = require("@chargedcloud/logger");

// ES6
import createLogger from "@chargedcloud/logger";
```

Then, you can create an instance of the logger:

```js
const logger = createLogger(import.meta.url);
```

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