function LogWriter() {
    var _this;

    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

    _classCallCheck(this, LogWriter);

    _this = _super.call(this);
    if (!options.hasOwnProperty('logFile')) throw new Error("Log file was not provided for writer");
    if (!options.hasOwnProperty('logFileSuffix')) options.logFileSuffix = new Date().toISOString().slice(0, 10).replace(/-/g, "");
    _this._logFile = "".concat(options.logFile, "--").concat(options.logFileSuffix, ".log");
    console.log("Log file: ".concat(_this._logFile)); // No more!

    return _this;
  }
/**
  * Construct log writer.
  *
  * @param options
  */
Construct log writer.
@param options
Construct log writer . @param options
function LogWriter() {
    var _this;
    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
    _classCallCheck(this, LogWriter);
    _this = _super.call(this);
    if (!options.hasOwnProperty('logFile')) throw new Error("Log file was not provided for writer");
    if (!options.hasOwnProperty('logFileSuffix')) options.logFileSuffix = new Date().toISOString().slice(0, 10).replace(/-/g, "");
    _this._logFile = "".concat(options.logFile, "--").concat(options.logFileSuffix, ".log");
    console.log("Log file: ".concat(_this._logFile)); 
    return _this;
  }
function LogWriter ( ) { var _this ; var options = arguments . length > 0 && arguments [ 0 ] !== undefined ? arguments [ 0 ] : { } ; _classCallCheck ( this , LogWriter ) ; _this = _super . call ( this ) ; if ( ! options . hasOwnProperty ( 'logFile' ) ) throw new Error ( "Log file was not provided for writer" ) ; if ( ! options . hasOwnProperty ( 'logFileSuffix' ) ) options . logFileSuffix = new Date ( ) . toISOString ( ) . slice ( 0 , 10 ) . replace ( / - / g , "" ) ; _this . _logFile = "" . concat ( options . logFile , "--" ) . concat ( options . logFileSuffix , ".log" ) ; console . log ( "Log file: " . concat ( _this . _logFile ) ) ; return _this ; }
Construct log writer.
Construct log writer .
// No more!