diff options
Diffstat (limited to 'src/crepe/util')
-rw-r--r-- | src/crepe/util/dbg.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/crepe/util/dbg.h b/src/crepe/util/dbg.h index c7283ee..e448070 100644 --- a/src/crepe/util/dbg.h +++ b/src/crepe/util/dbg.h @@ -5,10 +5,13 @@ // utility macros #define _crepe_logf_here(level, fmt, ...) \ - crepe::Log::logf(level, "{}" fmt, \ - crepe::LogColor().fg_white(false).str(std::format( \ - "{} ({}:{})", __PRETTY_FUNCTION__, __FILE_NAME__, __LINE__)), \ - __VA_ARGS__) + crepe::Log::logf( \ + level, "{}" fmt, \ + crepe::LogColor().fg_white(false).str( \ + std::format("{} ({}:{})", __PRETTY_FUNCTION__, __FILE_NAME__, __LINE__) \ + ), \ + __VA_ARGS__ \ + ) // very illegal global function-style macros // NOLINTBEGIN |