Add LogMethod() functionality to pch file