goril-logger

1.1.0 • Public • Published

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

  1. Import the module in your Node.js application:

    const goril = require('goril-logger');
  2. 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.

Package Sidebar

Install

npm i goril-logger

Weekly Downloads

4

Version

1.1.0

License

ISC

Unpacked Size

2.21 kB

Total Files

3

Last publish

Collaborators

  • arungoril