Logging
This commit is contained in:
		| @@ -11,6 +11,7 @@ var winston = require('winston'); | ||||
| var RedisDocumentStore = function(options, client) { | ||||
|   this.expire = options.expire; | ||||
|   if (client) { | ||||
|     winston.info('using predefined redis client'); | ||||
|     RedisDocumentStore.client = client; | ||||
|   } else if (!RedisDocumentStore.client) { | ||||
|     RedisDocumentStore.connect(options); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user