smart_card_connector_app/src/background.js
/**
 * Returns a forwarder for the JS logs, or null if there's none.
 * @return {GSC.LogBufferForwarder?}
 */
Returns a forwarder for the JS logs, or null if there's none.
Returns a forwarder for the JS logs or null if there ' s none .
function maybeCreateLogBufferForwarder() {
  if (GSC.ExecutableModule.TOOLCHAIN !== GSC.ExecutableModule.Toolchain.PNACL)
    return null;
  return new GSC.LogBufferForwarder(
      GSC.Logging.getLogBuffer(), JS_LOGS_HANDLER_MESSAGE_TYPE);
}
function maybeCreateLogBufferForwarder ( ) { if ( GSC . ExecutableModule . TOOLCHAIN !== GSC . ExecutableModule . Toolchain . PNACL ) return null ; return new GSC . LogBufferForwarder ( GSC . Logging . getLogBuffer ( ) , JS_LOGS_HANDLER_MESSAGE_TYPE ) ; }
Returns a forwarder for the JS logs, or null if there's none.
Returns a forwarder for the JS logs or null if there ' s none .
// Used to forward logs collected on the JS side to the NaCl module's stdout, // in order to simplify accessing them in some configurations.