modify PYApiManager log method, now use ALog instead of PYLog when debug is on