class

Tracing::Handle

Inherits Reference < Object

Allows reloading the inner layer of an associated Reload.

Ported from upstream tracing_subscriber::reload::Handle.

Constructors

new(layer : Reload)
Source

Instance methods

modify

Invokes a block with the current layer, allowing in-place modification.

Source
reload(new_value : Layer) : Nil

Replaces the current layer with new_value.

Source
with_current

Invokes a block with a borrowed reference to the current layer and returns the block's result.

Source