1#include <cx/format/formattable.cxh>
3// A rendering of an object argument, taken at the call site.
5// Deferred formatting cannot defer an object: it would render whatever state the object was in
6// when the drain thread got to it rather than when it was logged. So an object argument is
7// rendered immediately and replaced by one of these, which renders back to the text that was
10// It has to be an object rather than the plain string, because the template still says ${object}
11// and a placeholder resolves by type. The substitution is therefore invisible to the format
12// string, which is the entire point.
13class LogSnapshot implements Formattable
16 factory create(string text);