diff --git a/docs/logging.md b/docs/logging.md index fc3a7acaab..18b171cdf9 100644 --- a/docs/logging.md +++ b/docs/logging.md @@ -5,6 +5,11 @@ Catch2 provides various macros for logging extra information when running a test. These macros default to being scoped, and associate with all assertions in the scope, regardless of whether they pass or fail. +To use the logging macros described on this page, include: +```cpp +#include +``` + **example** ```cpp TEST_CASE("Simple info") {