https://github.com/pungrumpy/logixlysia
🦊 Logixlysia is a logger for ElysiaJS
https://github.com/pungrumpy/logixlysia
bun elysia elysiajs log logger logging logixlysia
Last synced: 4 months ago
JSON representation
🦊 Logixlysia is a logger for ElysiaJS
- Host: GitHub
- URL: https://github.com/pungrumpy/logixlysia
- Owner: PunGrumpy
- License: mit
- Created: 2023-11-04T15:17:12.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-09-27T04:57:34.000Z (5 months ago)
- Last Synced: 2025-09-29T00:46:55.948Z (5 months ago)
- Topics: bun, elysia, elysiajs, log, logger, logging, logixlysia
- Language: TypeScript
- Homepage: https://logixlysia.vercel.app
- Size: 18 MB
- Stars: 147
- Watchers: 2
- Forks: 6
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
🦊 Logixlysia
Logixlysia is a logging library for ElysiaJS
## `📩` Installation
```bash
bun add logixlysia
```
## `📝` Usage
```ts
import { Elysia } from 'elysia'
import logixlysia from 'logixlysia'
const app = new Elysia({
name: 'Logixlysia Example'
}).use(
logixlysia({
config: {
showStartupMessage: true,
startupMessageFormat: 'simple',
timestamp: {
translateTime: 'yyyy-mm-dd HH:MM:ss'
},
ip: true,
logFilePath: './logs/example.log',
customLogFormat:
'🦊 {now} {level} {duration} {method} {pathname} {status} {message} {ip} {epoch}',
logFilter: {
level: ['ERROR', 'WARNING'],
status: [500, 404],
method: 'GET'
}
}
})
)
app.listen(3000)
```
## `📚` Documentation
Check out the [website](https://logixlysia.vercel.app) for more detailed documentation and examples.
## `📄` License
Licensed under the [MIT License](LICENSE).