Build a msg-ctx log message: the static message prefix followed by | and the
rendered context. When no field renders to context, the bare message is returned so
there is no dangling |. Prefer a CtxLogger instance, whose level methods
render and log in one call so the fields object is passed exactly once and cannot drift
from the message.
Build a
msg-ctxlog message: the staticmessageprefix followed by|and the rendered context. When no field renders to context, the bare message is returned so there is no dangling|. Prefer a CtxLogger instance, whose level methods render and log in one call so the fields object is passed exactly once and cannot drift from the message.