log_to_attrs#
- movement.utils.logging.log_to_attrs(func)[source]#
Log the operation performed by the wrapped function.
This decorator appends log entries to the data’s
logattribute. The wrapped function must accept anxarray.Datasetorxarray.DataArrayas its first argument and return an object of the same type.