Repository navigation
·
41 commits
to main
since this release
New Features
- Custom Logger Injection — Added
setLogger()method to allow injecting a custom logger (e.g. Datadog, Sentry, Bugsnag) instead of usingconsole. CallsetLogger()beforeinitialize()to route all SDK logs through your own logging system. - Exported
InsertAffiliateLoggertype for TypeScript users
Notes
initialize()signature is unchanged — no breaking changes- If
setLogger()is not called, the SDK behaves exactly as before