What is the number of real roots of $(\mathrm{log}x{)}^{2}-\lfloor \mathrm{log}x\rfloor -2=0$ $\lfloor \phantom{\rule{thinmathspace}{0ex}}\cdot \phantom{\rule{thinmathspace}{0ex}}\rfloor $represents the greatest integer function less than or equal to x.

I know how to solve logarithm equation but due to greatest integer function I am unable to proceed further please help thanks.

I know how to solve logarithm equation but due to greatest integer function I am unable to proceed further please help thanks.