Skip to content

Commit

Permalink
Unify error message render with std::system_error.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurik committed Jul 21, 2024
1 parent bc710a2 commit 594be5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib-shared/source/log.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ inline constexpr orc::Fiber *const orc_fiber = nullptr;
orc::Log(orc_fiber)

#define orc_log(log, text) \
log << "[" << __FILE__ << ":" << std::dec << __LINE__ << "] " << text
log << text << " [" << __FILE__ << ":" << std::dec << __LINE__ << "]"

#define orc_trace() do { \
orc_log(orc_Log() << "\e[31m", "orc_trace(): " << __FUNCTION__ << std::endl); \
Expand Down

0 comments on commit 594be5b

Please sign in to comment.