@zanix/logger
v2.0.2
Published
ZanixJS Framework Logger
Downloads
298
Readme
Logger Library for Node.js
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 ✨
- Ismael Calle Marulanda @iscam2216