mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
renderer: maintain consistency in the logging domain.
This commit is contained in:
parent
4070495032
commit
bcb35ba33b
3 changed files with 7 additions and 7 deletions
|
@ -63,9 +63,9 @@ Result Canvas::clear(bool free) noexcept
|
|||
|
||||
Result Canvas::draw() noexcept
|
||||
{
|
||||
TVGLOG("COMMON", "Draw S. -------------------------------- Canvas(%p)", this);
|
||||
TVGLOG("RENDERER", "Draw S. -------------------------------- Canvas(%p)", this);
|
||||
auto ret = pImpl->draw();
|
||||
TVGLOG("COMMON", "Draw E. -------------------------------- Canvas(%p)", this);
|
||||
TVGLOG("RENDERER", "Draw E. -------------------------------- Canvas(%p)", this);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -73,9 +73,9 @@ Result Canvas::draw() 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);
|
||||
TVGLOG("COMMON", "Update E. ------------------------------ Canvas(%p)", this);
|
||||
TVGLOG("RENDERER", "Update E. ------------------------------ Canvas(%p)", this);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
@ -136,7 +136,7 @@ static LoadModule* _find(FileType type)
|
|||
break;
|
||||
}
|
||||
}
|
||||
TVGLOG("LOADER", "%s format is not supported", format);
|
||||
TVGLOG("RENDERER", "%s format is not supported", format);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ static LoadModule* _findByType(const string& mimeType)
|
|||
else if (mimeType == "jpg" || mimeType == "jpeg") type = FileType::Jpg;
|
||||
else if (mimeType == "webp") type = FileType::Webp;
|
||||
else {
|
||||
TVGLOG("LOADER", "Given mimetype is unknown = \"%s\".", mimeType.c_str());
|
||||
TVGLOG("RENDERER", "Given mimetype is unknown = \"%s\".", mimeType.c_str());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ static SaveModule* _find(FileType type)
|
|||
break;
|
||||
}
|
||||
}
|
||||
TVGLOG("SAVER", "%s format is not supported", format);
|
||||
TVGLOG("RENDERER", "%s format is not supported", format);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue