blob: feeb29f43a743112986370444385646e89347804 [file] [log] [blame]
'use strict'
const logQueue = []
function printLogQueue () {
logQueue.forEach((log) => log())
logQueue.length = 0
}
function push (log) {
logQueue.push(log)
}
module.exports = {
printLogQueue, push
}