FormattedLog

class FormattedLog(val body: String, val attributes: SentryAttributes)

A formatted log entry ready to be sent to native SDKs.

This contains the pre-formatted message body and complete attributes (including template info). The timestamp and level are provided by the native SDK when the log is actually sent.

Constructors

Link copied to clipboard
constructor(body: String, attributes: SentryAttributes)

Properties

Link copied to clipboard

Complete attributes including template info and custom attributes.

Link copied to clipboard

The formatted message body with placeholders substituted.