@blazingworks/logger
v1.0.2
Published
TypeScript Logging Library developed by BlazingWorks
Downloads
13
Readme
@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 [email protected]
- For important questions, please email [email protected]
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.