unlock() {
    const _this = this;
    if (_this._lock) {
      const lock = _this._lock;
      _this._lock = null;
      lock.forEach(value => {
        _this.write(value);
      });
    }
  }
@method unlock
@memberof module:hard-source-webpack-plugin/logger-factory~Logger#