From be9a1b048694447c2d1eef2829523263993f5fd1 Mon Sep 17 00:00:00 2001 From: chasers Date: Wed, 30 Jun 2021 16:23:13 -0700 Subject: [PATCH] Notes on server and client side logging --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 90ec09c..003a2aa 100644 --- a/README.md +++ b/README.md @@ -10,4 +10,16 @@ When you deploy from here, it will make you setup the Logflare integration. This [Manage your log drains](https://logflare.app/integrations/vercel/edit) -![Manage Log Drains with Logflare](https://logflare.app/images/marketing/guides/vercel-setup/create-vercel-log-drain.png) \ No newline at end of file +![Manage Log Drains with Logflare](https://logflare.app/images/marketing/guides/vercel-setup/create-vercel-log-drain.png) + +## Server Side Logging + +Explore various ways to log data and errors from the server side: + +https://github.com/Logflare/next-pino-logflare-logging-example/tree/main/pages/api + +## Client Side Logging + +When setup `pino-logflare` will send your cient-side logs to Logflare as well: + +https://github.com/Logflare/next-pino-logflare-logging-example/blob/main/pages/index.js \ No newline at end of file