Implmement LogUtil.

As requested by Ricochet1k