File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -285,10 +285,6 @@ Website: www.ilikebigbits.com
285
285
#define LOGURU_PREDICT_TRUE (x ) (__builtin_expect(!!(x), 1 ))
286
286
#endif
287
287
288
- #if defined(_MSC_VER) && !defined(__PRETTY_FUNCTION__)
289
- #define __PRETTY_FUNCTION__ __FUNCTION__
290
- #endif
291
-
292
288
#if LOGURU_USE_FMTLIB
293
289
#include < fmt/format.h>
294
290
#endif
@@ -906,7 +902,7 @@ namespace loguru
906
902
#define LOG_SCOPE_F (verbosity_name, ...) \
907
903
VLOG_SCOPE_F (loguru::Verbosity_ ## verbosity_name, __VA_ARGS__)
908
904
909
- #define LOG_SCOPE_FUNCTION (verbosity_name ) LOG_SCOPE_F(verbosity_name, __PRETTY_FUNCTION__ )
905
+ #define LOG_SCOPE_FUNCTION (verbosity_name ) LOG_SCOPE_F(verbosity_name, __func__ )
910
906
911
907
// -----------------------------------------------
912
908
// ABORT_F macro. Usage: ABORT_F("Cause of error: %s", error_str);
You can’t perform that action at this time.
0 commit comments