stream interface that allows log rotation