Skip to content

Commit

Permalink
Change AXLOGI to more appropriate AXLOGD for several log calls (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
rh101 authored Jul 12, 2024
1 parent b54cb19 commit 5c6338a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
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

0 comments on commit 5c6338a

Please sign in to comment.