{"id":13456492,"url":"https://github.com/Logflare/next-pino-logflare-logging-example","last_synced_at":"2025-03-24T10:32:46.319Z","repository":{"id":44995547,"uuid":"381843991","full_name":"Logflare/next-pino-logflare-logging-example","owner":"Logflare","description":"Demonstrating various ways to log with Next, Vercel, Pino and Logflare","archived":false,"fork":false,"pushed_at":"2022-01-14T21:56:31.000Z","size":99,"stargazers_count":78,"open_issues_count":3,"forks_count":24,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T06:59:28.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"next-pino-logflare-logging-example.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Logflare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-30T22:07:12.000Z","updated_at":"2025-03-08T12:27:20.000Z","dependencies_parsed_at":"2022-09-24T23:10:36.551Z","dependency_job_id":null,"html_url":"https://github.com/Logflare/next-pino-logflare-logging-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Fnext-pino-logflare-logging-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Fnext-pino-logflare-logging-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Fnext-pino-logflare-logging-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Logflare%2Fnext-pino-logflare-logging-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Logflare","download_url":"https://codeload.github.com/Logflare/next-pino-logflare-logging-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245252506,"owners_count":20585080,"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":[],"created_at":"2024-07-31T08:01:23.019Z","updated_at":"2025-03-24T10:32:46.023Z","avatar_url":"https://github.com/Logflare.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).\n\nYou'll find various logging examples from the client and the server with `console`, only `pino` and `pino-logflare`.\n\nYou can get client and server side logs going to Logflare from one `logger` interface with the config found here:\n\nhttps://github.com/Logflare/next-pino-logflare-logging-example/blob/main/logger/logger.js\n\n## Deploy with Logflare on Vercel\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fnext.js%2Ftree%2Fcanary%2Fexamples%2Fhello-world\u0026integration-ids=oac_yEwf1AmqJMbRs2rkmnePdNK3)\n\n## Setup a Log Drain\n\nWhen you deploy from here, it will make you setup the Logflare integration. This does not automatically setup a log drain for you. Visit your Logflare account and setup a log drain.\n\n[Manage your log drains with Logflare](https://logflare.app/integrations/vercel/edit) ➡️\n\n![Manage Log Drains with Logflare](https://logflare.app/images/marketing/guides/vercel-setup/create-vercel-log-drain.png)\n\n## Server Side Logging\n\nExplore various ways to log data and errors from the server side:\n\nhttps://github.com/Logflare/next-pino-logflare-logging-example/tree/main/pages/api\n\n## Client Side Logging\n\nWhen setup `pino-logflare` will send your cient-side logs to Logflare as well:\n\nhttps://github.com/Logflare/next-pino-logflare-logging-example/blob/main/pages/index.js","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLogflare%2Fnext-pino-logflare-logging-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLogflare%2Fnext-pino-logflare-logging-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLogflare%2Fnext-pino-logflare-logging-example/lists"}