Observer that records a named variable at a point location.
Parameters:
variable (str) – Name of the variable to record (e.g. "v", "ina").
target (str | None) – Optional sub-target label (e.g. the owning mechanism’s
instance name) used to disambiguate probes of the same
variable on different mechanisms.