code: function( logTags ) {
  
  	// If missing return none
  	if (!logTags)
  		return 0;
  
  	// Apply logging flags
  	var logFlags = 0;
  	for (var i=0; i<logTags.length; i++) {
  		var t = logTags[i];
  		switch (t) {
  			case 'p': logFlags |= BinaryEncoder.LogFlags.PRM; break;
  			case 'a': logFlags |= BinaryEncoder.LogFlags.ARR; break;
  			case 'c': logFlags |= BinaryEncoder.LogFlags.CHU; break;
  			case 's': logFlags |= BinaryEncoder.LogFlags.STR; break;
  			case 'r': logFlags |= BinaryEncoder.LogFlags.IREF; break;
  			case 'R': logFlags |= BinaryEncoder.LogFlags.XREF; break;
  			case 'o': logFlags |= BinaryEncoder.LogFlags.OBJ; break;
  			case 'e': logFlags |= BinaryEncoder.LogFlags.EMB; break;
  			case 'O': logFlags |= BinaryEncoder.LogFlags.PLO; break;
  			case 'b': logFlags |= BinaryEncoder.LogFlags.BULK; break;
  			case 'd': logFlags |= BinaryEncoder.LogFlags.PDBG; break;
  			case 'w': logFlags |= BinaryEncoder.LogFlags.WRT; break;
  			case '-': logFlags |= 0xffff; break;
  		}
  	}
  	return logFlags;
  
  }
docs: Compile log