Skip to content

Add an internal Logger  #157

Closed
Closed
@grdsdev

Description

@grdsdev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions