mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 10:32:29 +00:00
chore(log): add fputs() for console output
This commit is contained in:
parent
2f7b73e55c
commit
50d7d5aab6
1 changed files with 2 additions and 0 deletions
|
|
@ -624,6 +624,8 @@ void SLogVWrite(HSLOG log, const char* format, va_list arglist) {
|
|||
#if defined(WHOA_SYSTEM_WIN)
|
||||
// if (g_opt.echotooutputdebugstring)
|
||||
OutputDebugString(&logptr->buffer[logptr->pendpoint]);
|
||||
#else
|
||||
fputs(&logptr->buffer[logptr->pendpoint], stderr);
|
||||
#endif
|
||||
|
||||
logptr->pendpoint = logptr->bufferused;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue