CodeCaptureConfiguration

Defines what data to capture for code-level instrumentation, including arguments, return values, stack traces, local variables, and safety limits.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The function arguments to capture. Omit to capture defaults, use an empty list to capture none, use ["*"] to capture all arguments, or specify argument names to capture selectively (up to 10 entries).

Link copied to clipboard

Safety limits that bound what is captured, including hit counts, string length, collection depth, and stack trace size.

Link copied to clipboard

The local variables to capture by name. Omit or pass an empty list to capture none. You can specify up to 20 names.

Link copied to clipboard

Whether to capture the return value. Defaults to false.

Link copied to clipboard

Whether to capture a stack trace when the instrumentation point is hit. Defaults to true.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String