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

Change AXLOGI to more appropriate AXLOGD for several log calls #2028

Merged
merged 1 commit into from
Jul 12, 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/base/AutoreleasePool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ PoolManager::PoolManager()

PoolManager::~PoolManager()
{
AXLOGI("deallocing PoolManager: {}", fmt::ptr(this));
AXLOGD("deallocing PoolManager: {}", fmt::ptr(this));

while (!_releasePoolStack.empty())
{
Expand Down
4 changes: 2 additions & 2 deletions core/base/Director.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ bool Director::init()

Director::~Director()
{
AXLOGI("deallocing Director: {}", fmt::ptr(this));
AXLOGD("deallocing Director: {}", fmt::ptr(this));

#if AX_ENABLE_CACHE_TEXTURE_DATA
_eventDispatcher->removeEventListener(_rendererRecreatedListener);
Expand Down Expand Up @@ -680,7 +680,7 @@ void Director::purgeCachedData()

// Note: some tests such as ActionsTest are leaking refcounted textures
// There should be no test textures left in the cache
AXLOGI("{}\n", _textureCache->getCachedTextureInfo());
AXLOGD("{}\n", _textureCache->getCachedTextureInfo());
}
FileUtils::getInstance()->purgeCachedEntries();
}
Expand Down
2 changes: 1 addition & 1 deletion core/platform/GLViewImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ GLViewImpl::GLViewImpl(bool initglfw)

GLViewImpl::~GLViewImpl()
{
AXLOGI("deallocing GLViewImpl: {}", fmt::ptr(this));
AXLOGD("deallocing GLViewImpl: {}", fmt::ptr(this));
GLFWEventHandler::setGLViewImpl(nullptr);
glfwTerminate();
}
Expand Down
2 changes: 1 addition & 1 deletion core/renderer/TextureCache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ TextureCache::TextureCache() : _loadingThread(nullptr), _needQuit(false), _async

TextureCache::~TextureCache()
{
AXLOGI("deallocing TextureCache: {}", fmt::ptr(this));
AXLOGD("deallocing TextureCache: {}", fmt::ptr(this));

for (auto&& texture : _textures)
texture.second->release();
Expand Down
2 changes: 1 addition & 1 deletion core/renderer/backend/ProgramManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ProgramManager::~ProgramManager()
{
AX_SAFE_RELEASE(program.second);
}
AXLOGI("deallocing ProgramManager: {}", fmt::ptr(this));
AXLOGD("deallocing ProgramManager: {}", fmt::ptr(this));
backend::ShaderCache::destroyInstance();
}

Expand Down