From 4573245743d85e199eecb83d9397f317cd60e8cc Mon Sep 17 00:00:00 2001 From: Federico Dainelli Date: Sat, 30 Mar 2024 10:14:41 +0100 Subject: [PATCH] docs: add pino-test to the ecosystem and help sections (#1931) --- docs/ecosystem.md | 3 +++ docs/help.md | 6 ++++++ docsify/sidebar.md | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/docs/ecosystem.md b/docs/ecosystem.md index 34174b402..06c3b2b3f 100644 --- a/docs/ecosystem.md +++ b/docs/ecosystem.md @@ -58,6 +58,9 @@ according to a given format string. Pino to log requests within [restify](http://restify.com/). + [`rill-pino-logger`](https://github.com/pinojs/rill-pino-logger): use Pino as the logger for the [Rill framework](https://rill.site/). ++ [`pino-test`](https://github.com/pinojs/pino-test): a set of utilities for +verifying logs generated by the Pino logger. + ## Community diff --git a/docs/help.md b/docs/help.md index 7caf422c4..1b9b6a2fa 100644 --- a/docs/help.md +++ b/docs/help.md @@ -13,6 +13,7 @@ * [Mapping Pino Log Levels to Google Cloud Logging (Stackdriver) Severity Levels](#stackdriver) * [Avoid Message Conflict](#avoid-message-conflict) * [Best performance for logging to `stdout`](#best-performance-for-stdout) +* [Testing](#testing) ## Log rotation @@ -301,3 +302,8 @@ const log = require('pino')(); You should only have to configure custom transports or other settings if you have broader logging requirements. + + +## Testing + +See [`pino-test`](https://github.com/pinojs/pino-test). \ No newline at end of file diff --git a/docsify/sidebar.md b/docsify/sidebar.md index 75d4ef0c4..01e97a538 100644 --- a/docsify/sidebar.md +++ b/docsify/sidebar.md @@ -19,3 +19,8 @@ * [Duplicate keys](/docs/help.md#dupe-keys) * [Log levels as labels instead of numbers](/docs/help.md#level-string) * [Pino with `debug`](/docs/help.md#debug) + * [Unicode and Windows terminal](/docs/help.md#windows) + * [Mapping Pino Log Levels to Google Cloud Logging (Stackdriver) Severity Levels](/docs/help.md#stackdriver) + * [Avoid Message Conflict](/docs/help.md#avoid-message-conflict) + * [Best performance for logging to `stdout`](/docs/help.md#best-performance-for-stdout) + * [Testing](/docs/help.md#testing)