From d36ec05f1b6c95443efc3bb37d6f52586d71fb35 Mon Sep 17 00:00:00 2001 From: otavepto Date: Sun, 14 Apr 2024 20:56:18 +0200 Subject: [PATCH] output verbose func signature on linux --- dll/dll/common_includes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dll/dll/common_includes.h b/dll/dll/common_includes.h index 6f451227..d604f652 100644 --- a/dll/dll/common_includes.h +++ b/dll/dll/common_includes.h @@ -209,8 +209,8 @@ static inline void reset_LastError() auto __prnt_dbg_ms = std::chrono::duration_cast>(__prnt_dbg_duration); \ auto __prnt_dbg_f = fopen(dbg_log_file.c_str(), "a"); \ if (!__prnt_dbg_f) break; \ - fprintf(__prnt_dbg_f, "[%llu ms, %llu us] [tid %ld] %s() " a "\n", \ - __prnt_dbg_ms.count(), __prnt_dbg_micro.count(), syscall(SYS_gettid), __FUNCTION__, ##__VA_ARGS__); \ + fprintf(__prnt_dbg_f, "[%llu ms, %llu us] [tid %ld] %s " a "\n", \ + __prnt_dbg_ms.count(), __prnt_dbg_micro.count(), syscall(SYS_gettid), __PRETTY_FUNCTION__, ##__VA_ARGS__); \ fclose(__prnt_dbg_f); \ } while (0) #else