Step 1: Understanding the Concept
\( \dfrac{\sin x+\cos x}{\cos x}=1+\tan x \), so \( I=\int_{0}^{\pi/4}\log(1+\tan x)\,dx \).
Step 2: Use the property
Replace \( x \) by \( \dfrac{\pi}{4}-x \): \( 1+\tan\left(\dfrac{\pi}{4}-x\right)=1+\dfrac{1-\tan x}{1+\tan x}=\dfrac{2}{1+\tan x} \).
Step 3: Add
\( I=\int_{0}^{\pi/4}\left[\log2-\log(1+\tan x)\right]dx=\dfrac{\pi}{4}\log2-I \).
Step 4: Result
\( 2I=\dfrac{\pi}{4}\log2\Rightarrow I=\dfrac{\pi}{8}\log2 \).
Final Answer:
The integral equals pi by 8 times log 2.
\[ \boxed{\text{(D) }\dfrac{\pi}{8}\log 2} \]