Skip to content

Commit

Permalink
fixing formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ehellbar committed Feb 13, 2025
1 parent 2eabb7f commit 50dc348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Framework/Foundation/include/Framework/Signpost.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,13 +532,13 @@ void o2_debug_log_set_stacktrace(_o2_log_t* log, int stacktrace)
})

// Similar to the above, however it will also print a normal critical message regardless of the signpost being enabled or not.
#define O2_SIGNPOST_EVENT_EMIT_CRITICAL(log, id, name, format, ...) __extension__({ \
#define O2_SIGNPOST_EVENT_EMIT_CRITICAL(log, id, name, format, ...) __extension__({ \
if (O2_BUILTIN_UNLIKELY(O2_SIGNPOST_ENABLED_MAC(log))) { \
O2_SIGNPOST_EVENT_EMIT_MAC(log, id, name, format, ##__VA_ARGS__); \
} else if (O2_BUILTIN_UNLIKELY(private_o2_log_##log->stacktrace)) { \
_o2_signpost_event_emit(private_o2_log_##log, id, name, remove_engineering_type(format).data(), ##__VA_ARGS__); \
} \
O2_LOG_MACRO_RAW(critical, remove_engineering_type(format).data(), ##__VA_ARGS__); \
O2_LOG_MACRO_RAW(critical, remove_engineering_type(format).data(), ##__VA_ARGS__); \
})

#define O2_SIGNPOST_START(log, id, name, format, ...) \
Expand Down

0 comments on commit 50dc348

Please sign in to comment.