Closed
Description
Feature request
To help supabase-swift
maintainers fix bugs we should have an internal logging system
Describe the solution you'd like
- Implement an internal logger that can be used by Supabase and its sub-packages to log critical states and invariants.
- This logger should be configurable on the client's initialization.
- Logger should write logs to an easy-to-access file, so users can attach this log file when opening issues.
- Logs are local only and MUST never leave the device, only in the case where the user chooses to manually grab the log file and send it somewhere.
- Logger should redact any sensitive data, such as access tokens.