Write a failure to the log the way a diagnostic report can read it: a
known failure as ONE line — the label, then
its failureCauseChain — with no stack, since a transient's ten
transport frames read as a crash in a report; anything else as the
label followed by the error object, so a programming error keeps the
stack that locates it.
Write a failure to the log the way a diagnostic report can read it: a known failure as ONE line — the label, then its failureCauseChain — with no stack, since a transient's ten transport frames read as a crash in a report; anything else as the label followed by the error object, so a programming error keeps the stack that locates it.