Skip to content
Commit 14e5e988 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Carles Cufí
Browse files

lib: cbprintf: add support for deferred formatting



In applications like logging the call site where arguments to
formatting are available may not be suitable for performing the
formatting, e.g. when the output operation can sleep.  Add API that
supports capturing data that may be transient into a buffer that can
be saved, and API that then produces the output later using the
packaged arguments.

[ Documentation and commit log from Peter Bigot. ]

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 4118ed1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment