Examples • Documentation • Changelog • License
A Zero Dependency TypeScript logging library
Add the package to your project via npm
npm install @kourosh-alasti/logger
Version | Supported |
---|---|
>=1.0.0 | ✅ |
There are two ways to add a logger to your application. The quickest way is using the default configuration.
import { createLogger } from '@kourosh-alati/logger';
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