function addConsoleInstrumentationHandler(handler) {
  const type = 'console';
  _handlers.addHandler(type, handler);
  _handlers.maybeInstrument(type, instrumentConsole);
}
Add an instrumentation handler for when a console.xxx method is called.

Use at your own risk, this might break without changelog notice, only used internally.
@hidden