"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.error = exports.warn = exports.info = exports.initLogging = void 0;
const Context_1 = require("../Context");
let p2pLogger;
function initLogging() {
    p2pLogger = Context_1.logger.getLogger('p2p');
}
exports.initLogging = initLogging;
function info(...msg) {
    const entry = `LostArchivers: ${msg.join(' ')}`;
    p2pLogger.info(entry);
}
exports.info = info;
function warn(...msg) {
    const entry = `LostArchivers: ${msg.join(' ')}`;
    p2pLogger.warn(entry);
}
exports.warn = warn;
function error(...msg) {
    const entry = `LostArchivers: ${msg.join(' ')}`;
    p2pLogger.error(entry);
}
exports.error = error;
//# sourceMappingURL=logging.js.map