Don't use deprecated EM_LOG_FUNC_PARAMS flag.

This commit is contained in:
levlam 2023-10-05 23:23:20 +03:00
parent 9289270cd9
commit e0731b1935

View File

@ -191,8 +191,7 @@ class DefaultLog final : public LogInterface {
#elif TD_EMSCRIPTEN #elif TD_EMSCRIPTEN
switch (log_level) { switch (log_level) {
case VERBOSITY_NAME(FATAL): case VERBOSITY_NAME(FATAL):
emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK | EM_LOG_FUNC_PARAMS, "%s", emscripten_log(EM_LOG_ERROR | EM_LOG_CONSOLE | EM_LOG_C_STACK | EM_LOG_JS_STACK, "%s", slice.c_str());
slice.c_str());
EM_ASM(throw(UTF8ToString($0)), slice.c_str()); EM_ASM(throw(UTF8ToString($0)), slice.c_str());
break; break;
case VERBOSITY_NAME(ERROR): case VERBOSITY_NAME(ERROR):