{"id":24383284,"url":"https://github.com/firstandthird/hapi-logr","last_synced_at":"2026-04-22T11:34:20.487Z","repository":{"id":4242469,"uuid":"52477422","full_name":"firstandthird/hapi-logr","owner":"firstandthird","description":"Hapi logging plugin using Logr","archived":false,"fork":false,"pushed_at":"2023-03-05T16:19:12.000Z","size":335,"stargazers_count":0,"open_issues_count":9,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-04T09:40:25.161Z","etag":null,"topics":["hapi-plugin","hapi-v17"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/firstandthird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-02-24T21:57:14.000Z","updated_at":"2022-09-02T19:37:17.000Z","dependencies_parsed_at":"2023-07-06T09:48:14.614Z","dependency_job_id":null,"html_url":"https://github.com/firstandthird/hapi-logr","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-logr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-logr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-logr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fhapi-logr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstandthird","download_url":"https://codeload.github.com/firstandthird/hapi-logr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258504,"owners_count":20262301,"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":["hapi-plugin","hapi-v17"],"created_at":"2025-01-19T10:14:05.868Z","updated_at":"2025-12-27T14:17:57.232Z","avatar_url":"https://github.com/firstandthird.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003ehapi-logr\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/firstandthird/hapi-logr/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/workflow/status/firstandthird/hapi-logr/Test/main?label=Tests\u0026style=for-the-badge\" alt=\"Test Status\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/firstandthird/hapi-logr/actions\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/workflow/status/firstandthird/hapi-logr/Lint/main?label=Lint\u0026style=for-the-badge\" alt=\"Lint Status\"/\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/hapi-logr.svg?label=npm\u0026style=for-the-badge\" alt=\"NPM\" /\u003e\n\u003c/p\u003e\n\nHapi plugin to integrate logr reporters\n\n## Installation\n\n```sh\nnpm install hapi-logr\n```\n\n_or_\n\n```sh\nyarn add hapi-logr\n```\n\n## Usage\n\n```javascript\nconst Hapi = require('@hapi/hapi');\nconst server = new Hapi.Server();\nawait server.register({\n  plugin: require('hapi-logr'),\n  options: { // logr-all options can be set here\n    unhandledRejection: true\n    uncaughtException: true\n  }\n});\n\n// Logr handles this\nserver.log(['start'], { message: 'server started', uri: server.info.uri });\n```\n\n\n---\n\n\u003ca href=\"https://firstandthird.com\"\u003e\u003cimg src=\"https://firstandthird.com/_static/ui/images/safari-pinned-tab-62813db097.svg\" height=\"32\" width=\"32\" align=\"right\"\u003e\u003c/a\u003e\n\n_A [First + Third](https://firstandthird.com) Project_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fhapi-logr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstandthird%2Fhapi-logr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fhapi-logr/lists"}