public static String generate(final List<String> logLines) {
    final StringBuilder builder = new StringBuilder("\n");
    appendHeader(builder);

    logLines.forEach(
        logLine ->
            Splitter.fixedLength(76)
                .split(logLine)
                .forEach(
                    splitLogLine ->
                        builder.append(
                            String.format(
                                "# %s #\n",
                                StringUtils.rightPad(splitLogLine, MAX_LINE_LENGTH - 4)))));

    appendFooter(builder);

    return builder.toString();
  }
Generate log lines as String.

@param logLines the log lines
@return the string
util/src/main/java/org/hyperledger/besu/util/log/FramedLogMessage.java