use Console::WriteLine instead of log_info

This commit is contained in:
Ted John authored and Michał Janiszewski committed 2016-05-27 20:28:34 +02:00
1 parent 5bc99d2006
commit d62c94f14a
3 files changed
+16 -8

No files matched your search

+7 -2
View File
@@ -55,9 +55,14 @@ namespace Console
puts("");
}
void WriteLine(const utf8 * str)
void WriteLine(const utf8 * format, ...)
{
puts(str);
va_list args;
va_start(args, format);
vfprintf(stdout, format, args);
puts("");
va_end(args);
}
namespace Error