1.0.2 • Published 1 year ago
@blazingworks/logger v1.0.2
@blazingworks/logger
🗃️ 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
- For general issues/questions, open an issue
- For security issues, please email security@blazing.works
- For important questions, please email opensource@blazing.works
License
As this is an open-source project, support is limited. Please use GitHub Issues for community support or contact opensource@blazing.works for very important matters.
ℹ️ All code in this repository is licensed under the MIT License.