diff --git a/docs/logging.md b/docs/logging.md index 01c6fbc7..d508ce98 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -2,6 +2,8 @@ Additional messages can be logged during a test case. +Note that these macros do not log anything unless they are *directly* inside a catch test scope macro (i.e. TEST_CASE, SECTION, GIVEN/WHEN/THEN/...). In particular they cannot be used inside loops or ```if``` statements. + ## Streaming macros All these macros allow heterogenous sequences of values to be streaming using the insertion operator (```<<```) in the same way that std::ostream, std::cout, etc support it. @@ -53,4 +55,4 @@ These macros are now deprecated and are just aliases for INFO and CAPTURE (which --- -[Home](Readme.md) \ No newline at end of file +[Home](Readme.md)