Skip to content

Commit e590b9d

Browse files
authored
Set several log messages to verbose level (#2021)
1 parent a3a5203 commit e590b9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/2d/Animation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ bool AnimationFrame::initWithSpriteFrame(SpriteFrame* spriteFrame, float delayUn
5959

6060
AnimationFrame::~AnimationFrame()
6161
{
62-
AXLOGD("deallocing AnimationFrame: {}", fmt::ptr(this));
62+
AXLOGV("deallocing AnimationFrame: {}", fmt::ptr(this));
6363

6464
AX_SAFE_RELEASE(_spriteFrame);
6565
}

core/platform/GLView.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void GLView::handleTouchesBegin(int num, intptr_t ids[], float xs[], float ys[])
322322
touch->setTouchInfo(unusedIndex, (x - _viewPortRect.origin.x) / _scaleX,
323323
(y - _viewPortRect.origin.y) / _scaleY);
324324

325-
AXLOGI("x = {} y = {}", touch->getLocationInView().x, touch->getLocationInView().y);
325+
AXLOGV("x = {} y = {}", touch->getLocationInView().x, touch->getLocationInView().y);
326326

327327
g_touchIdReorderMap.emplace(id, unusedIndex);
328328
touchEvent._touches.emplace_back(touch);
@@ -369,7 +369,7 @@ void GLView::handleTouchesMove(int num, intptr_t ids[], float xs[], float ys[],
369369
continue;
370370
}
371371

372-
AXLOGI("Moving touches with id: {}, x={}, y={}, force={}, maxFource={}", (int)id, x, y, force, maxForce);
372+
AXLOGV("Moving touches with id: {}, x={}, y={}, force={}, maxFource={}", (int)id, x, y, force, maxForce);
373373
Touch* touch = g_touches[iter->second];
374374
if (touch)
375375
{
@@ -425,7 +425,7 @@ void GLView::handleTouchesOfEndOrCancel(EventTouch::EventCode eventCode,
425425
Touch* touch = g_touches[iter->second];
426426
if (touch)
427427
{
428-
AXLOGI("Ending touches with id: {}, x={}, y={}", (int)id, x, y);
428+
AXLOGV("Ending touches with id: {}, x={}, y={}", (int)id, x, y);
429429
touch->setTouchInfo(iter->second, (x - _viewPortRect.origin.x) / _scaleX,
430430
(y - _viewPortRect.origin.y) / _scaleY);
431431

0 commit comments

Comments
 (0)