Logs a notification instead of silently dropping long log messages, which can complicate debugging. This way, if you don't see a message you expect to see, you'll immediately know why. The *correct* approach would be to eliminate length filtering here entirely and use `snprintf` appropriately (also there's a tiny -- probably negligible -- performance hit here in calling `strlen` regardless of whether or not the verbosity level matches). Failing that, the second best option is to copy and truncate messages here. However, for now, this should be OK. |
||
---|---|---|
.. | ||
AssetLib | ||
CApi | ||
Common | ||
Material | ||
Pbrt | ||
PostProcessing | ||
res | ||
.editorconfig | ||
CMakeLists.txt |