<h1>Tiny TypeScript Logger</h2>
npm install tiny-typescript-loggerGet wonderful colorized log messages straight into your terminal.
Install it using your favorite package manager:
``sh
npm install tiny-typescript-logger
yarn install tiny-typescript-logger
pnpm install tiny-typescript-logger
`
Log anything your dream desires:
`ts
import { log } from 'tiny-typescript-logger'
log.info('Order processed successfully.')
log.error('Failed to process order with orderId=12345.')
`
This library has six built-in log levels, listed in the lowest to highest
severity range.
- Trace (10)20
- Debug ()30
- Info ()40
- Warn ()50
- Error ()60
- Fatal ()
Contributions are welcome! If you have suggestions or want to contribute new
features, open a pull request or file an issue.
1. Fork the repository.
2. Create a feature branch (git checkout -b feature/new-feature).git commit -m 'Add new feature'
3. Commit your changes ().git push origin feature/new-feature`).
4. Push to the branch (
5. Open a pull request.
This project is licensed under the MIT License. See the LICENSE file
for more details.