goril-logger
v1.1.0
Published
A custom logging module for Node.js applications, providing an efficient way to log errors and messages along with the file path where the goril.log method is called.
Downloads
9
Maintainers
Readme
goril-logger
goril-logger is a custom logging module for Node.js applications. It provides an efficient way to log errors and messages, along with the file path where the goril.log
method is called.
Installation
You can install goril-logger using npm or yarn:
npm install goril-logger
# or
yarn add goril-logger
Usage
Import the module in your Node.js application:
const goril = require('goril-logger');
Log messages:
goril.log('This is an informational message.');
API
goril.log(message)
: Log an error/message along with the file path.
Contributing
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.