{"id":16639033,"url":"https://github.com/cybercoder-naj/logestic","last_synced_at":"2025-03-16T22:31:13.897Z","repository":{"id":227983357,"uuid":"772868334","full_name":"cybercoder-naj/logestic","owner":"cybercoder-naj","description":"An advanced and customisable logging library for ElysiaJS","archived":false,"fork":false,"pushed_at":"2024-05-27T13:16:40.000Z","size":318,"stargazers_count":21,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-09T13:43:40.867Z","etag":null,"topics":["backend","bun","elysiajs","logging","middleware","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybercoder-naj.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-16T05:13:06.000Z","updated_at":"2024-07-16T21:04:31.633Z","dependencies_parsed_at":"2024-03-30T07:27:14.044Z","dependency_job_id":"02901c4d-88bd-4d54-b268-a58794933ca3","html_url":"https://github.com/cybercoder-naj/logestic","commit_stats":null,"previous_names":["cybercoder-naj/logestic","cybercoder-naj/logos"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercoder-naj%2Flogestic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercoder-naj%2Flogestic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercoder-naj%2Flogestic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybercoder-naj%2Flogestic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybercoder-naj","download_url":"https://codeload.github.com/cybercoder-naj/logestic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243830952,"owners_count":20354854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","bun","elysiajs","logging","middleware","typescript"],"created_at":"2024-10-12T07:04:55.414Z","updated_at":"2025-03-16T22:31:13.581Z","avatar_url":"https://github.com/cybercoder-naj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Logestic\n\n[![npm version](https://badge.fury.io/js/logestic.svg)](https://badge.fury.io/js/logestic)\n\n[Demo](./preview/src/index.ts) \u0026bullet; [Documentation](https://github.com/cybercoder-naj/logestic/wiki) \u0026bullet; [Changelog](./CHANGELOG.md) \u0026bullet; [License](./LICENSE)\n\nAn advanced and customisable logging library for [ElysiaJS](https://elysiajs.com).\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"screenshots/fancy.png\" alt=\"fancy preset\"\u003e\n\u003c/div\n\n## Table of Contents\n\n- [Logestic](#logestic)\n- [Table of Contents](#table-of-contents)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing Guidelines](#contributing-guidelines)\n\n## Installation\n\nAdd the package to your Elysia Project via [bun](https://bun.sh). \n```bash\n  bun add logestic\n```\n\n## Compatibility Matrix\n\n| Logestic Version | Elysia Version | Compatible? |\n| :--------------: | :------------: | :---------: |\n| \u003c= v1.2.0           | v1.0.9         | ✅ |\n| v1.2.0 - v1.2.1           | v1.1.0         | ❌ |\n| \u003e= v1.2.2           | v1.1.3         | ✅ |\n\n## Usage\n\nThere are two ways to add logging to your Elysia application. The quickest way to use this logger is using a preset. \n\n```typescript\nimport { Elysia } from 'elysia';\nimport { Logestic } from 'logestic';\n\nconst app = new Elysia()\n  .use(Logestic.preset('common'))\n  .get('/', () =\u003e \"Hello from server\")\n  /* ... */\n  .listen(3000, () =\u003e {\n    console.log(\"Server is running on port 3000\")\n  });\n```\n\nThese [presets](https://github.com/cybercoder-naj/logestic/wiki/Presets) available to use. \n\n## Contributing Guidelines\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercoder-naj%2Flogestic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybercoder-naj%2Flogestic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybercoder-naj%2Flogestic/lists"}