Standardized Logging for Policy Developers
Open
@renuka-fernando is already working on this.
Since Jan 22, 2026.
Area/Gateway
Area/PolicyEngine
Type/New Feature
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Description
Discussion: https://github.com/wso2/api-platform/discussions/748
Provide a standardized logging mechanism for policy developers by injecting a pre-configured *slog.Logger into the policy factory function. This ensures consistent log formatting across all policies, automatic policy identification in logs, and simplifies the developer experience.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.