Sync or Async?
chrisschaub opened this issue · comments
Christopher Schaub commented
Is consola asynchronous or sync? Trying to replace console.log in my applications. I read the docs and couldn't find an answer. From the code, it seems like I can just
const myLogger = consola.create({
_async: true
});
Pooya Parsa commented
Hi. Logging is sync. Consola v3 will drop global async
flag to avoid confusion.
Later we might add a reporter option for async stream writes only.