obedjs-logger A simple logging utility for ObedJS framework
npm i obedjs-logger
import it in your project
import Logger, { LogLevel } from 'obedjs-logger';
Then use it
const logger = new Logger(LogLevel.DEBUG, 'project.log');
logger.info('This is an info message');
logger.warn('This is a warning message');
logger.error('This is an error message');
logger.debug('This is a debug message');
We welcome contributions from the community! If you'd like to contribute to obedjs-logger, please follow these steps:
- Fork the repository on GitHub.
- Clone your forked repository to your local machine.
- Create a new branch for your feature or bug fix.
- Make your changes and ensure the tests pass.
- Commit your changes and push them to your forked repository.
- Submit a pull request to the main repository.
Please follow the Code of Conduct and ensure your contributions adhere to our Contributing Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.