Skip to content

Commit

Permalink
Update sockdrive & reduce logs verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Feb 8, 2024
1 parent 8d5368c commit dda8469
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions native/jsdos/jsdos-log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@ const char* LOG_TYPE_NAMES[] = {
constexpr int LOG_TYPE_NAMES_COUNT = sizeof(LOG_TYPE_NAMES) / sizeof(char*);

void Logger::operator()(char const* format, ...) {
#ifdef EMSCRIPTEN
if (logSeverity != LOG_ERROR && logType != LOG_NET) {
if (logSeverity != LOG_ERROR) {
return;
}
#endif

static char buf[1024];
buf[1023] = 0;
Expand Down

0 comments on commit dda8469

Please sign in to comment.