Skip to content

[Question]: Can we prevent Result from Logging even if Debug is turned on? #2585

Open
@chris-a-hammons

Description

@chris-a-hammons

What are you wanting to achieve?

Is there a way to be able to not allow logging of Result even if the log level debug/trace is turned on?

I generally worry about logging Results from any library since it could easily contain an object or string with Sensitive data. We cannot rely on Debug being turned off since support and developers can escalate logging in our system.

What code or approach do you have so far?

I have been looking at code, but cannot identify a way to be able to do what I am asking.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionstaleStale issues or pull requests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions