flush

fun flush()

Force-flush all of the buffered logs regardless of the flush interval