Skip to content

Commit

Permalink
Set several log messages to verbose level (#2021)
Browse files Browse the repository at this point in the history
  • Loading branch information
rh101 authored Jul 5, 2024
1 parent a3a5203 commit e590b9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/2d/Animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ bool AnimationFrame::initWithSpriteFrame(SpriteFrame* spriteFrame, float delayUn

AnimationFrame::~AnimationFrame()
{
AXLOGD("deallocing AnimationFrame: {}", fmt::ptr(this));
AXLOGV("deallocing AnimationFrame: {}", fmt::ptr(this));

AX_SAFE_RELEASE(_spriteFrame);
}
Expand Down
6 changes: 3 additions & 3 deletions core/platform/GLView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ void GLView::handleTouchesBegin(int num, intptr_t ids[], float xs[], float ys[])
touch->setTouchInfo(unusedIndex, (x - _viewPortRect.origin.x) / _scaleX,
(y - _viewPortRect.origin.y) / _scaleY);

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

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

AXLOGI("Moving touches with id: {}, x={}, y={}, force={}, maxFource={}", (int)id, x, y, force, maxForce);
AXLOGV("Moving touches with id: {}, x={}, y={}, force={}, maxFource={}", (int)id, x, y, force, maxForce);
Touch* touch = g_touches[iter->second];
if (touch)
{
Expand Down Expand Up @@ -425,7 +425,7 @@ void GLView::handleTouchesOfEndOrCancel(EventTouch::EventCode eventCode,
Touch* touch = g_touches[iter->second];
if (touch)
{
AXLOGI("Ending touches with id: {}, x={}, y={}", (int)id, x, y);
AXLOGV("Ending touches with id: {}, x={}, y={}", (int)id, x, y);
touch->setTouchInfo(iter->second, (x - _viewPortRect.origin.x) / _scaleX,
(y - _viewPortRect.origin.y) / _scaleY);

Expand Down

0 comments on commit e590b9d

Please sign in to comment.