Skip to content

Structured logging not deconstructed #389

Closed

Description

@dviry

Using LogEnforceResult is showing the following (I am using Serilog on Console):

Request: True ---> Casbin.Model.RequestValues`3[System.String,System.String,System.String] (cached)

If a destructuring syntax was used, it could work by calling the .ToString() method (or at least I could at least add my own IDestructuringPolicy...).

Thanks

Activity

  1. hsluoyz commented on Sep 30, 2025

    @hsluoyz
    Member

    @dviry can you make a PR to fix it?

  2. added a commit that references this issue on Oct 3, 2025
  3. dviry commented on Oct 3, 2025

    @dviry
    ContributorAuthor

    PR #390 created!

  4. github-actions commented on Oct 31, 2025

    @github-actions

    🎉 This issue has been resolved in version 2.17.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions