Proxying console logs

Has anyone experimented with proxying the global console to e.g. capture the console logs?
Was this page helpful?