Buffered logger