Review tracelogs

This commit is contained in:
Ray 2022-01-03 20:45:19 +01:00
parent 744bbd12a7
commit 62858e11f7
2 changed files with 5 additions and 2 deletions

View file

@ -986,6 +986,9 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
RL_FREE(txtData); RL_FREE(txtData);
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Wave as code exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export wave as code", fileName);
return success; return success;
} }

View file

@ -592,8 +592,8 @@ bool ExportImageAsCode(Image image, const char *fileName)
#endif // SUPPORT_IMAGE_EXPORT #endif // SUPPORT_IMAGE_EXPORT
if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image exported successfully", fileName); if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Image as code exported successfully", fileName);
else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image", fileName); else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export image as code", fileName);
return success; return success;
} }