Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanishqmanuja/nice-logger
🪵 Nice logger for Elysia
https://github.com/tanishqmanuja/nice-logger
elysia elysiajs logger
Last synced: about 2 months ago
JSON representation
🪵 Nice logger for Elysia
- Host: GitHub
- URL: https://github.com/tanishqmanuja/nice-logger
- Owner: tanishqmanuja
- License: mit
- Created: 2024-08-30T18:37:30.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-24T07:19:19.000Z (2 months ago)
- Last Synced: 2024-10-24T22:50:05.757Z (2 months ago)
- Topics: elysia, elysiajs, logger
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@tqman/nice-logger
- Size: 106 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Logo](https://raw.github.com/tanishqmanuja/static/main/banners/nice-logger.webp?maxAge=2592000)
"Not the nicest, but a pretty nice and sweet logger for Elysia."
[![Downloads][downloads-shield]][npm-url]
[![NPM Version][npm-shield]][npm-url]
![GitHub Workflow Status][ci-status-shield]
[![License][license-shield]][license-url][ci-status-shield]: https://img.shields.io/github/actions/workflow/status/tanishqmanuja/nice-logger/release.yaml?branch=main&style=for-the-badge&label=ci
[downloads-shield]: https://img.shields.io/npm/dm/%40tqman%2Fnice-logger?style=for-the-badge
[license-shield]: https://img.shields.io/github/license/tanishqmanuja/apkmirror-downloader?style=for-the-badge
[license-url]: https://github.com/tanishqmanuja/nice-logger/blob/main/LICENSE.md
[npm-shield]: https://img.shields.io/npm/v/@tqman/nice-logger?style=for-the-badge
[npm-url]: https://www.npmjs.com/package/@tqman/nice-logger## 🚀 Installation
```bash
bun add @tqman/nice-logger
```## 📃 Usage
```ts
import Elysia from "elysia";
import { logger } from "@tqman/nice-logger";const app = new Elysia()
.use(logger({
mode: "live", // "live" or "combined" (default: "combined")
}));
.get("/", "Hello via Elysia!")
.listen(3000);
```## 🍀 Show your Support
Give a ⭐️ if this project helped you!