loglitely
v1.2.1
Published
TypeScript-first Logging Library
Downloads
5
Maintainers
Readme
loglitely
Examples • Documentation • Changelog • License
A Zero Dependency TypeScript logging library
Table of Contents
Installation
Add the package to your project via npm
npm install loglitelySupport Matrix
| Version | Supported | | :-----: | :-------: | | >=1.2.0 | ✅ |
Usage
There are two ways to add a logger to your application. The quickest way is using the default configuration.
import { createLogger } from 'loglitely';
const logger = createLogger();
logger.log("Hello World!");
logger.warn("Hello World!");
logger.debug("Hello World!");
logger.error("Hello World!");
logger.info("Hello World!");Contributing
See CONTRIBUTING.md
