Using [LogEnforceResult](https://github.com/casbin/Casbin.NET/blob/80c72eda95c6f0493de94eb68b8293f48043cd0d/Casbin/Extensions/LoggerExtension.cs#L14) is showing the following (I am using Serilog on Console): ```c# Request: True ---> Casbin.Model.RequestValues`3[System.String,System.String,System.String] (cached) ``` If a [destructuring syntax](https://github.com/serilog/serilog/wiki/Structured-Data#preserving-object-structure) was used, it could work by calling the .ToString() method (or at least I could at least add my own IDestructuringPolicy...). Thanks
Activity
hsluoyz commentedon Sep 30, 2025
@dviry can you make a PR to fix it?
apache#389 fix structured logging for IRequestValues
dviry commentedon Oct 3, 2025
PR #390 created!
github-actions commentedon Oct 31, 2025
🎉 This issue has been resolved in version 2.17.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀