Function cleanForLogging

  • Implementation of deepCloneFilter with these features: Remove undefined properties. Convert functions into a string of "[Function]" with the function name if available. Convert Date objects to their ISO string. Convert RegExp objects to a string that mimics its expression pattern. Discard any circular references. Discard most built-in objects like Map, Set, Error, etc.

    Parameters

    • key: string
    • value: any
    • parent: any

    Returns any

Generated using TypeDoc v0.25.12