"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.appendEffectResultLog = appendEffectResultLog;
exports.appendEffectFailureLog = appendEffectFailureLog;
const log_text_1 = require("../log-text");
function renderEffectLogFields(fields) {
    return fields.join("\n");
}
function appendEffectResultLog(logger, fields) {
    return logger.appendSection((0, log_text_1.issueLogSection)("effectResult"), renderEffectLogFields(fields));
}
function appendEffectFailureLog(logger, fields) {
    return logger.appendSection((0, log_text_1.issueLogSection)("effectFailure"), renderEffectLogFields(fields));
}
