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.
To use the Logger library in your project, run the following command:
npm install @zanix/logger
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');
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.
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.
- Ismael Calle Marulanda @iscam2216