public static <P extends HasId & HasName,
        D extends Document & HasId & HasName & HasMainInterface & HasParent<P>>
    String describe(D doc) {

        return new StringJoiner(" ")
            .add(doc.mainInterface().getSimpleName())
            .add(doc.getId()).add("in")
            .add(doc.getParentOrThrow().getId())
            .toString();
    }
Utility class for writing pretty output to the log.

@author Emil Forslund
@since  3.1.10
runtime-parent/runtime-connector-parent/sqlite/src/main/java/com/speedment/runtime/connector/sqlite/internal/util/LoggingUtil.java