'use strict';

Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.LaunchDarklyLogger = undefined;

var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');

var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);

var _createClass2 = require('babel-runtime/helpers/createClass');

var _createClass3 = _interopRequireDefault(_createClass2);

var _bunyan = require('bunyan');

var _bunyan2 = _interopRequireDefault(_bunyan);

var _bunyanFormat = require('bunyan-format');

var _bunyanFormat2 = _interopRequireDefault(_bunyanFormat);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var LOG = _bunyan2.default.createLogger({
    name: 'ldu',
    streams: [{
        stream: (0, _bunyanFormat2.default)({ outputMode: 'short' })
    }]
});

var LaunchDarklyLogger = exports.LaunchDarklyLogger = function () {
    function LaunchDarklyLogger() {
        (0, _classCallCheck3.default)(this, LaunchDarklyLogger);
    }

    (0, _createClass3.default)(LaunchDarklyLogger, null, [{
        key: 'logger',
        value: function logger() {
            return LOG;
        }
    }]);
    return LaunchDarklyLogger;
}();