change the ECLog into debug method call