better log stream api