Skip to content

Structured Logs: String templating for structured logs #5642

@denrase

Description

@denrase

Structured Logs should allow the usage of string templates and parsing of the parameters so they can be independently queried.

Example:

SentrySDK.logger.info(
  message: "Adding item %s for user %s",
  params: [itemId, userId],
  attributes: ["extra": @"123"]
)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions