Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set several log messages to verbose level #2021

Merged
merged 1 commit into from
Jul 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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