1.2.0 • Published 6 months ago

@chargedcloud/logger v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

@chargedcloud/logger

Logger is a module to help you log your messages to the console of your NodeJS application.

InstallationUsageMethods

Installation

In your project directory, run the following command:

npm install @chargedcloud/logger

Usage

First, for you create an instance of the logger, you need to import the module:

// CommonJS
const createLogger = require("@chargedcloud/logger");

// ES6
import createLogger from "@chargedcloud/logger";

Then, you can create an instance of the logger:

const logger = createLogger(import.meta.url);
1.2.0

6 months ago

1.1.1

10 months ago

1.0.1

10 months ago

1.1.2

6 months ago

1.1.0

1 year ago

1.0.0

1 year ago