mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 18:30:25 +01:00
one more comment fix
This commit is contained in:
parent
62162e8613
commit
aab25a4091
@ -152,9 +152,8 @@ namespace g3 {
|
|||||||
#define LOG_IF(level, boolean_expression) \
|
#define LOG_IF(level, boolean_expression) \
|
||||||
if (false == (boolean_expression) || !g3::logLevel(level)) {} else INTERNAL_LOG_MESSAGE(level).stream()
|
if (false == (boolean_expression) || !g3::logLevel(level)) {} else INTERNAL_LOG_MESSAGE(level).stream()
|
||||||
|
|
||||||
// 'Design By Contract' stream API. For Broken Contracts:
|
// 'Design By Contract' stream API. Broken Contracts will exit the application by using fatal signal SIGABRT
|
||||||
// unit testing: it will throw std::runtime_error when a contract breaks
|
// For unit testing, you can override the fatal handling using setFatalExitHandler(...). See tes_io.cpp for examples
|
||||||
// I.R.L : it will exit the application by using fatal signal SIGABRT
|
|
||||||
#define CHECK(boolean_expression) \
|
#define CHECK(boolean_expression) \
|
||||||
if (true == (boolean_expression)) {} else INTERNAL_CONTRACT_MESSAGE(#boolean_expression).stream()
|
if (true == (boolean_expression)) {} else INTERNAL_CONTRACT_MESSAGE(#boolean_expression).stream()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user