logdna / logdna/logdna-browser

Feature request: allow custom JSON replacer function

Open
#46 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
23
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Allow custom JSON replacer function to be passed in via options, which will allow us to sanitize sensitive data from the logs (passwords, cc info, etc), helpful if objects passed into meta. Pull request incoming.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing how logger options are accepted and how objects passed through meta are serialized. Define the replacer option's expected behavior for sensitive values such as passwords and credit-card information, then verify that sanitized metadata is emitted in logs without changing behavior when no replacer is provided.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.