"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
const R = __importStar(require("ramda"));
const Environment_1 = require("./Environment");
const getLogCurried = R.curry((namespace, environment) => ({
    // tslint:disable:object-literal-sort-keys
    debug: environment.logger(namespace, Environment_1.LogLevels.DEBUG),
    info: environment.logger(namespace, Environment_1.LogLevels.INFO),
    warn: environment.logger(namespace, Environment_1.LogLevels.WARN),
    error: environment.logger(namespace, Environment_1.LogLevels.ERROR),
}));
exports.getLogCurried = getLogCurried;
