Step 1: Standard Result
For $\int_{0}^{\pi/4}\log(1+\tan x)dx$, the integrand and its reflection multiply to give 2.
Step 2: Use Logarithm Rule
Hence $\log(1+\tan x)+\log\left(1+\tan\left(\dfrac{\pi}{4}-x\right)\right)=\log 2$.
Step 3: Integrate
$2I=\dfrac{\pi}{4}\log 2$, so $I=\dfrac{\pi}{8}\log 2$, matching option (C).
Final Answer:
The integral equals $\dfrac{\pi}{8}\log 2$.
\[ \boxed{\text{(C) }\dfrac{\pi }{8}\log (2)} \]