1.0.0-beta.2 • Published 5 months ago

@zanix/logger v1.0.0-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Logger Library for Node.js

npm version License: MIT npm downloads

PayPal

Table of Contents

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.

Installation

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

npm install @zanix/logger

Usage

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');

Support and Contributions

If you encounter any issues or have suggestions for improvements, please submit them in the issue tracker.

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

License

This library is open-source and released under the MIT License. You are free to modify and distribute it as per the terms of the license.

Authors ✨