"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SYSTEM_LOG_ID = void 0;
exports.log = log;
exports.SYSTEM_LOG_ID = '__SYSTEM__LOG__';
/* eslint-disable no-console */
const log_el = document.getElementById(exports.SYSTEM_LOG_ID);
if (log_el) {
    log_el.onclick = () => {
        log_el.innerHTML = '';
    };
}
function log(...args) {
    console.log(...args);
    if (log_el) {
        const message = args.join(' ');
        const messageDiv = document.createElement('div');
        messageDiv.innerText = message;
        log_el && log_el.appendChild(messageDiv);
    }
}
//# sourceMappingURL=log.js.map