From d7ee25a2275bb94b8e6137ae3e7e5f73ae95a802 Mon Sep 17 00:00:00 2001 From: Bartosz Herba Date: Thu, 5 Dec 2024 12:47:01 +0100 Subject: [PATCH] chore: add sdk and middleware changelog prerequisites --- .../3.middleware/2.guides/{10.logging.md => 10.logger.md} | 6 +++++- docs/content/4.sdk/2.getting-started/4.logger.md | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) rename docs/content/3.middleware/2.guides/{10.logging.md => 10.logger.md} (98%) diff --git a/docs/content/3.middleware/2.guides/10.logging.md b/docs/content/3.middleware/2.guides/10.logger.md similarity index 98% rename from docs/content/3.middleware/2.guides/10.logging.md rename to docs/content/3.middleware/2.guides/10.logger.md index 40f1f04c42..ea5fb38332 100644 --- a/docs/content/3.middleware/2.guides/10.logging.md +++ b/docs/content/3.middleware/2.guides/10.logger.md @@ -1,7 +1,11 @@ -# Logging +# Logger The middleware application provides a logger instance that automatically attaches metadata related to the scope of each call. By adding this contextual data, the logger makes it significantly easier to trace the origin of logs or errors, simplifying the debugging and monitoring process across the application. +:::info +The logger has been available since version 5.1.0. Please refer to the [middleware changelog](https://docs.alokai.com/middleware/reference/change-log#_510) for more details. +::: + ## Using logger The middleware application provides access to the logger in various parts of the system, such as in extensions and integrations. This flexibility allows you to log important events, errors, and other data throughout the lifecycle of your application. diff --git a/docs/content/4.sdk/2.getting-started/4.logger.md b/docs/content/4.sdk/2.getting-started/4.logger.md index e87bab221b..d6ba9b74fa 100644 --- a/docs/content/4.sdk/2.getting-started/4.logger.md +++ b/docs/content/4.sdk/2.getting-started/4.logger.md @@ -139,4 +139,4 @@ You can use the following methods: - `info` - `debug` -Keep in mind that `log` method is not available, you can use `info` instead. +Keep in mind that `log` method is not available, you can use `info` instead. \ No newline at end of file