Companion

object Companion

Factory methods for disabled and explicitly enabled diagnostics.

Functions

Link copied to clipboard

Returns the no-op default configuration.

Link copied to clipboard
fun enabled(sink: DiagnosticSink, responsePreviewLimit: Int = 0): SdkDiagnostics

Enables sanitized events, with response previews disabled unless explicitly bounded.