"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.logErrorOnce = logErrorOnce;
const loggedErrors = new WeakSet();
function logErrorOnce(err) {
    if (typeof err === 'object' && err !== null) {
        if (loggedErrors.has(err))
            return;
        loggedErrors.add(err);
    }
    console.error(err);
}
//# sourceMappingURL=logErrorOnce.js.map