From c527de82b0c0fcab50b51783c44490bd4863a263 Mon Sep 17 00:00:00 2001 From: rh101 Date: Fri, 5 Jul 2024 23:40:30 +1000 Subject: [PATCH] Set several log messages to verbose level --- core/2d/Animation.cpp | 2 +- core/platform/GLView.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/2d/Animation.cpp b/core/2d/Animation.cpp index 49b5c2fac49e..8e46b8049eb8 100644 --- a/core/2d/Animation.cpp +++ b/core/2d/Animation.cpp @@ -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); } diff --git a/core/platform/GLView.cpp b/core/platform/GLView.cpp index 36887b27ae0f..b0e663451ac8 100644 --- a/core/platform/GLView.cpp +++ b/core/platform/GLView.cpp @@ -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); @@ -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) { @@ -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);