Step 1: Check symmetry
On $\left[\frac{\pi }{6},\frac{\pi }{3}\right]$, the point $x$ and $\frac{\pi }{2}-x$ both lie in the interval.
Step 2: Compare the integrand
At $x$ and $\frac{\pi }{2}-x$, $\sin 2x$ is equal but $\log \tan x$ has opposite sign.
Step 3: Result
The contributions cancel in pairs, so the integral is 0.
Final Answer:
The integrand is antisymmetric about the midpoint, so the integral is 0.
\[ \boxed{\text{(A) }0} \]