Repository navigation
5.27.0
·
272 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Minor Changes
-
647d48b: Add structured logging. Send logs to PostHog from your Flutter app and see them next to your events and session replays.
Posthog().logger.info('checkout completed', {'order_id': 'ord_789'}); Posthog().logger.error('payment failed', {'error_code': 'E001'}); // Or pick the level at runtime: await Posthog().captureLog(body: 'request finished', level: PostHogLogSeverity.warn);
Levels:
trace,debug,info,warn,error,fatal. Configure service identity, redaction (beforeSend), and batching/rate-cap tuning onconfig.logsConfig— all optional, with sensible native defaults. Works on iOS, Android, and web.Requires
posthog-android3.48.0or newer.See https://posthog.com/docs/logs for details.