Skip to content

🗃️ TypeScript Logging Library developed by BlazingWorks

License

Notifications You must be signed in to change notification settings

blazingworks/logger

Repository files navigation

@blazingworks/logger

Lines of code npm Downloads GitHub issues GitHub pull requests GitHub GitHub Repo stars npm Version GitHub contributors

🗃️ TypeScript Logging Library developed by BlazingWorks

Tech Stack

Installation

NPM

npm install @blazingworks/logger

Yarn

yarn add @blazingworks/logger

Usage

TypeScript

import { Logger } from "@blazingworks/logger";
import { ConsoleTransport } from "@blazingworks/logger/transports";

const logger = new Logger({
    transports: [{ module: new ConsoleTransport() }],
});

logger.info("Hello World");

JavaScript

const { Logger } = require("@blazingworks/logger");
const { ConsoleTransport } = require("@blazingworks/logger/transports");

const logger = new Logger({
    transports: [{ module: new ConsoleTransport() }],
});

logger.info("Hello World");

Transports

The logger comes with various kinds of transports. You can find more about them here.

How to report issues/questions

License

As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact [email protected] for very important matters.

ℹ️ All code in this repository is licensed under the MIT License.

About

🗃️ TypeScript Logging Library developed by BlazingWorks

Resources

License

Stars

Watchers

Forks

Packages

No packages published