Skip to content

Commit

Permalink
chore: add sdk and middleware changelog prerequisites (#7347)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoszherba committed Dec 6, 2024
1 parent f9807f5 commit ff05852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/content/3.middleware/2.guides/10.logging.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/content/4.sdk/2.getting-started/4.logger.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ff05852

Please sign in to comment.