Use log buffer to avoid DOM updates until console is opened