MCPcopy Index your code
hub / github.com/datalust/seq-logging / flush

Method flush

seq_logger.js:48–50  ·  view source on GitHub ↗

* Flush events queued at the time of the call, and wait for pending writes to complete regardless of configured batching/timers. * @returns {Promise }

()

Source from the content-addressed store, hash-verified

46 * @returns {Promise<boolean>}
47 */
48 flush() {
49 return this._ship();
50 }
51
52 /**
53 * Flush then destroy connections, close the logger, destroying timers and other resources.

Callers 4

closeMethod · 0.95
sayHelloFunction · 0.80
sayHelloFunction · 0.80

Calls 1

_shipMethod · 0.95

Tested by

no test coverage detected