1
0
mirror of https://github.com/livingcomputermuseum/UniBone.git synced 2026-02-07 00:37:48 +00:00

New ".input" command for "demo" scripts

This commit is contained in:
Joerg Hoppe
2019-06-14 16:33:48 +02:00
parent db0167afe1
commit a4dc6af85c
3 changed files with 12 additions and 5 deletions

View File

@@ -344,7 +344,8 @@ void logger_c::log(logsource_c *logsource, unsigned msglevel, const char *srcfil
if (msglevel <= life_level) {
char msgtext[LOGMESSAGE_TEXT_SIZE];
message_render(msgtext, sizeof(msgtext), &msg, RENDER_STYLE_CONSOLE);
cout << string(msgtext) << "\n";
cout << msgtext << "\n";
// cout << string(msgtext) << "\n"; // not thread safe???
}
va_end(args);