-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
What:
Extend logger.error('My error') and give the possibility to pass a JSON (or serializable JS object) as a log value.
Why:
For example, in Python world, they have standardized loggers that accept a custom JSON as a log value that gives a possibility to aggregate logs handily with the help of third-party tools such as DataDog etc.
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
- Write documentation
- Write unit tests
- Write integration tests
Example Pseudo Code (for implementation)
logger.error({
"name": "Custom error",
"reason": "Not valid data"
})
logger.info({
"name": "User action",
"action": "Click the checkout button"
})Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels