Skip to content

5.27.0

Choose a tag to compare

@github-actions github-actions released this 11 Jun 21:50
· 272 commits to main since this release
Immutable release. Only release title and notes can be modified.
41e2623

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 on config.logsConfig — all optional, with sensible native defaults. Works on iOS, Android, and web.

    Requires posthog-android 3.48.0 or newer.

    See https://posthog.com/docs/logs for details.