"use strict";
const supportsColor = require('supports-color');
const pretty_1 = require('./pretty');
const simple_1 = require('./simple');
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = (loggerType) => ((loggerType === 'pretty' && supportsColor)
    ? pretty_1.default()
    : simple_1.default());
//# sourceMappingURL=index.js.map