KPathsRuntimeWarnings

expect object KPathsRuntimeWarnings

Configures delivery of non-fatal KPaths runtime diagnostics.

On the JVM, the default handler writes to standard error. Applications may replace handler to integrate with their logging system, or set it to null to disable runtime-warning work entirely.

Kotlin/Native does not expose the runtime metadata necessary to identify data classes, so the data-class warning emitted for manually constructed ReferenceWritableKeyPath instances is inactive there. The handler property remains available so cross-platform application code does not need a platform branch.

actual object KPathsRuntimeWarnings

Configures delivery of non-fatal KPaths runtime diagnostics.

On the JVM, the default handler writes to standard error. Applications may replace handler to integrate with their logging system, or set it to null to disable runtime-warning work entirely.

Kotlin/Native does not expose the runtime metadata necessary to identify data classes, so the data-class warning emitted for manually constructed ReferenceWritableKeyPath instances is inactive there. The handler property remains available so cross-platform application code does not need a platform branch.

actual object KPathsRuntimeWarnings

Configures delivery of non-fatal KPaths runtime diagnostics.

On the JVM, the default handler writes to standard error. Applications may replace handler to integrate with their logging system, or set it to null to disable runtime-warning work entirely.

Kotlin/Native does not expose the runtime metadata necessary to identify data classes, so the data-class warning emitted for manually constructed ReferenceWritableKeyPath instances is inactive there. The handler property remains available so cross-platform application code does not need a platform branch.

Properties

Link copied to clipboard