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