1、log 例如log("editBox %s was returned !",editBox->getText()); 2、CCLOG 例如CCLOG("%s",editBox->getText());