Skip to content

Commit 873f268

Browse files
committed
STEVE - cclog to ccloginfo in removeChild
1 parent 05aaef3 commit 873f268

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos/2d/CCNode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ void Node::removeChildByTag(int tag, bool cleanup/* = true */)
11041104

11051105
if (child == nullptr)
11061106
{
1107-
CCLOG("cocos2d: removeChildByTag(tag = %d): child not found!", tag);
1107+
CCLOGINFO("cocos2d: removeChildByTag(tag = %d): child not found!", tag);
11081108
}
11091109
else
11101110
{
@@ -1120,7 +1120,7 @@ void Node::removeChildByName(const std::string &name, bool cleanup)
11201120

11211121
if (child == nullptr)
11221122
{
1123-
CCLOG("cocos2d: removeChildByName(name = %s): child not found!", name.c_str());
1123+
CCLOGINFO("cocos2d: removeChildByName(name = %s): child not found!", name.c_str());
11241124
}
11251125
else
11261126
{

0 commit comments

Comments
 (0)