renderer: maintain consistency in the logging domain.

This commit is contained in:
Hermet Park 2023-11-02 20:49:27 +09:00
parent 4070495032
commit bcb35ba33b
3 changed files with 7 additions and 7 deletions

View file

@ -63,9 +63,9 @@ Result Canvas::clear(bool free) noexcept
Result Canvas::draw() noexcept Result Canvas::draw() noexcept
{ {
TVGLOG("COMMON", "Draw S. -------------------------------- Canvas(%p)", this); TVGLOG("RENDERER", "Draw S. -------------------------------- Canvas(%p)", this);
auto ret = pImpl->draw(); auto ret = pImpl->draw();
TVGLOG("COMMON", "Draw E. -------------------------------- Canvas(%p)", this); TVGLOG("RENDERER", "Draw E. -------------------------------- Canvas(%p)", this);
return ret; return ret;
} }
@ -73,9 +73,9 @@ Result Canvas::draw() noexcept
Result Canvas::update(Paint* paint) noexcept Result Canvas::update(Paint* paint) noexcept
{ {
TVGLOG("COMMON", "Update S. ------------------------------ Canvas(%p)", this); TVGLOG("RENDERER", "Update S. ------------------------------ Canvas(%p)", this);
auto ret = pImpl->update(paint, false); auto ret = pImpl->update(paint, false);
TVGLOG("COMMON", "Update E. ------------------------------ Canvas(%p)", this); TVGLOG("RENDERER", "Update E. ------------------------------ Canvas(%p)", this);
return ret; return ret;
} }

View file

@ -136,7 +136,7 @@ static LoadModule* _find(FileType type)
break; break;
} }
} }
TVGLOG("LOADER", "%s format is not supported", format); TVGLOG("RENDERER", "%s format is not supported", format);
#endif #endif
return nullptr; return nullptr;
} }
@ -170,7 +170,7 @@ static LoadModule* _findByType(const string& mimeType)
else if (mimeType == "jpg" || mimeType == "jpeg") type = FileType::Jpg; else if (mimeType == "jpg" || mimeType == "jpeg") type = FileType::Jpg;
else if (mimeType == "webp") type = FileType::Webp; else if (mimeType == "webp") type = FileType::Webp;
else { else {
TVGLOG("LOADER", "Given mimetype is unknown = \"%s\".", mimeType.c_str()); TVGLOG("RENDERER", "Given mimetype is unknown = \"%s\".", mimeType.c_str());
return nullptr; return nullptr;
} }

View file

@ -67,7 +67,7 @@ static SaveModule* _find(FileType type)
break; break;
} }
} }
TVGLOG("SAVER", "%s format is not supported", format); TVGLOG("RENDERER", "%s format is not supported", format);
#endif #endif
return nullptr; return nullptr;
} }