Skip to content

setMaskingFunction does not support context #1252

@jczstudios

Description

@jczstudios

As it stands, using the setMaskingFunction only applies globally. Meaning, it is difficult to conditionally mask data especially when combined with the existing wrap functions like wrapAISDK.

Potential solutions:

  • Allow some context / parent trace to be passed in when using a wrapping function like wrapAISDK.
  • Allow masking functions to be set on individual loggers.
  • Allow masking functions to be applied to individual traced() wrappings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions