7163898: add isLoggable() check to doLog()
Summary: Add the check and return immediately if it's false
Reviewed-by: anthony, mchung, sla
Contributed-by: Nicolas Carranza <nicarran@gmail.com>
^build/
^dist/
/nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/
^src/share/tools/IdealGraphVisualizer/dist/
^.hgtip
.DS_Store