Downsamples log records before sending them to the browser.