flush() #

Flushes the logs buffered by the transports.

flush(): Promise<void>

Usage #

await app.log.flush();