mongodb-log-writer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -113,2 +113,5 @@ "use strict"; | ||
async flush() { | ||
if (typeof this._target.flush === 'function') { | ||
this._target.flush(); | ||
} | ||
await new Promise(resolve => this._target.write('', resolve)); | ||
@@ -115,0 +118,0 @@ } |
{ | ||
"name": "mongodb-log-writer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A library for writing MongoDB logv2 messages", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
29751
293