# @zanix/logger

> ZanixJS Framework Logger

Latest version **2.0.2** (published 2024-09-26) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 35/100 (D)** — status: maintenance-mode.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2024-09-26 |
| First published | 2023-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 36.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ismael Calle - icalle@utp.edu.co |
| Maintainers | iscam2216, zanix-io |

## Links

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

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [@zanix/std-config](https://npm.io/package/@zanix/std-config.md) ^1.0.5

## Recent versions

- 2.0.2 (latest) — 2024-09-26
- 2.0.1 — 2024-09-26
- 2.0.0 — 2024-09-25
- 2.0.0-alpha.2 — 2024-08-17
- 2.0.0-alpha.1 — 2024-06-08
- 1.0.2 — 2024-06-02
- 1.0.1 — 2024-06-02
- 1.0.0-beta.2 — 2023-12-16
- 1.0.0-beta.1 — 2023-12-16

## README

### Logger Library for Node.js

[![npm version](https://badge.fury.io/js/%40zanix%2Flogger.svg)](https://badge.fury.io/js/%40zanix%2Flogger) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![npm downloads](https://img.shields.io/npm/dt/%40zanix%2Flogger.svg)](https://www.npmjs.com/package/@zanix/logger)

[![PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/ismaelcallem?country.x=CO&locale.x=es_XC)

## Table of Contents

- [Introduction](#introduction)
- [Installation](#installation)
- [Usage](#usage)
- [Support and Contributions](#support-and-contributions)
- [License](#license)
- [Authors](#authors)

<a name="introduction"></a>

### Introduction

The Logger library is a versatile tool designed to simplify logging in zanix applications. It offers functions for logging different levels of messages, including debugging, errors, information, success messages, and warnings.

<a name="installation"></a>

### Installation

To use the Logger library in your project, run the following command:

```bash
npm install @zanix/logger
```

<a name="usage"></a>

### Usage

```typescript
import { Logger, debug, error, info, success, warn } from 'logger';

const logger: Logger = /* initialize your logger */;

// Example usage of logger functions
debug.call(logger, 'Debugging message');
error.call(logger, 'Error occurred');
info.call(logger, 'Informational message');
success.call(logger, 'Task completed successfully');
warn.call(logger, 'Warning: potential issue');
```

<a name="support-and-contributions"></a>

### Support and Contributions

If you encounter any issues or have suggestions for improvements, please submit them in the [issue tracker](https://github.com/zanix-io/zjs-logger/issues).

Contributions to enhance the functionality or resolve issues are welcomed via pull requests. Ensure adherence to code standards and include appropriate test coverage.

<a name="license"></a>

### License

This library is open-source and released under the [MIT License](https://opensource.org/licenses/MIT). You are free to modify and distribute it as per the terms of the license.

<a name="authors"></a>

### Authors ✨

- Ismael Calle Marulanda [@iscam2216](https://github.com/iscam2216)

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