function writeParameters(entry, out) {
  // If headers are in an object, convert them to an array for better
  // display.
  entry = reformatHeaders(entry);

  // Use any parameter writer available for this event type.
  var paramsWriter = getParameterWriterForEventType(entry.type);
  var consumedParams = {};
  if (paramsWriter)
    paramsWriter(entry, out, consumedParams);

  // Write any un-consumed parameters.
  for (var k in entry.params) {
    if (consumedParams[k])
      continue;
    defaultWriteParameter(k, entry.params[k], out);
  }
}
/**
 * Formats the parameters for |entry| and writes them to |out|.
 * Certain event types have custom pretty printers. Everything else will
 * default to a JSON-like format.
 */
Formats the parameters for |entry| and writes them to |out|.
Certain event types have custom pretty printers. Everything else will
default to a JSON-like format.
Formats the parameters for |entry| and writes them to |out| . Certain event types have custom pretty printers . Everything else will default to a JSON - like format .
function writeParameters(entry, out) {
  entry = reformatHeaders(entry);
  var paramsWriter = getParameterWriterForEventType(entry.type);
  var consumedParams = {};
  if (paramsWriter)
    paramsWriter(entry, out, consumedParams);
  for (var k in entry.params) {
    if (consumedParams[k])
      continue;
    defaultWriteParameter(k, entry.params[k], out);
  }
}
function writeParameters ( entry , out ) { entry = reformatHeaders ( entry ) ; var paramsWriter = getParameterWriterForEventType ( entry . type ) ; var consumedParams = { } ; if ( paramsWriter ) paramsWriter ( entry , out , consumedParams ) ; for ( var k in entry . params ) { if ( consumedParams [ k ] ) continue ; defaultWriteParameter ( k , entry . params [ k ] , out ) ; } }
Formats the parameters for |entry| and writes them to |out|.
Formats the parameters for |entry| and writes them to |out| .
// If headers are in an object, convert them to an array for better // display. // Use any parameter writer available for this event type. // Write any un-consumed parameters.