1.2.0 • Published 2 years ago

@chargedcloud/logger v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years 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

2 years ago

1.1.1

2 years ago

1.0.1

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago