[base] new API LogFile for non-blocking logfile writes