Examples • Documentation • Changelog • License
A Zero Dependency TypeScript logging library
Add the package to your project via npm
npm install loglitely
Version | Supported |
---|---|
>=1.2.0 | ✅ |
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!");
See CONTRIBUTING.md