Fix for issue #68 by using self._log_debug instead of this._log.debug

This commit is contained in:
Neb, Sebastian 2019-02-19 09:55:49 +01:00
parent 16f172c6f2
commit 20818869f1

View File

@ -38,7 +38,7 @@ EventStorePersistentSubscriptionBase.prototype.start = function() {
return this._startSubscription(this._subscriptionId, this._streamId, this._bufferSize, this._userCredentials,
this._onEventAppeared.bind(this), this._onSubscriptionDropped.bind(this), this._settings)
.then(function(subscription) {
this._log.debug('Subscription started.');
self._log.debug('Subscription started.');
self._subscription = subscription;
return self;
});