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.
You can install goril-logger using npm or yarn:
npm install goril-logger
# or
yarn add goril-logger
-
Import the module in your Node.js application:
const goril = require('goril-logger');
-
Log messages:
goril.log('This is an informational message.');
-
goril.log(message)
: Log an error/message along with the file path.
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.