Skip to content

Commit 92459a7

Browse files
authored
chore: add sdk and middleware changelog prerequisites (#7347)
1 parent f9807f5 commit 92459a7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docs/content/3.middleware/2.guides/10.logging.md renamed to docs/content/3.middleware/2.guides/10.logger.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# Logging
1+
# Logger
22

33
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.
44

5+
:::info
6+
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.
7+
:::
8+
59
## Using logger
610

711
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.

docs/content/4.sdk/2.getting-started/4.logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ You can use the following methods:
139139
- `info`
140140
- `debug`
141141

142-
Keep in mind that `log` method is not available, you can use `info` instead.
142+
Keep in mind that `log` method is not available, you can use `info` instead.

0 commit comments

Comments
 (0)