Added clog test
diff --git a/projects/SelfTest/Baselines/console.std.approved.txt b/projects/SelfTest/Baselines/console.std.approved.txt
index 4b96e2f..c4ed431 100644
--- a/projects/SelfTest/Baselines/console.std.approved.txt
+++ b/projects/SelfTest/Baselines/console.std.approved.txt
@@ -700,6 +700,7 @@
A string sent directly to stdout
A string sent directly to stderr
+A string sent to stderr via clog
Message from section one
Message from section two
-------------------------------------------------------------------------------
diff --git a/projects/SelfTest/Baselines/console.sw.approved.txt b/projects/SelfTest/Baselines/console.sw.approved.txt
index 083d8dc..82d5e12 100644
--- a/projects/SelfTest/Baselines/console.sw.approved.txt
+++ b/projects/SelfTest/Baselines/console.sw.approved.txt
@@ -4573,6 +4573,7 @@
A string sent directly to stdout
A string sent directly to stderr
+A string sent to stderr via clog
-------------------------------------------------------------------------------
Some simple comparisons between doubles
-------------------------------------------------------------------------------
diff --git a/projects/SelfTest/Baselines/junit.sw.approved.txt b/projects/SelfTest/Baselines/junit.sw.approved.txt
index dbb424a..dd5805a 100644
--- a/projects/SelfTest/Baselines/junit.sw.approved.txt
+++ b/projects/SelfTest/Baselines/junit.sw.approved.txt
@@ -517,6 +517,7 @@
</system-out>
<system-err>
A string sent directly to stderr
+A string sent to stderr via clog
</system-err>
</testcase>
<testcase classname="<exe-name>.global" name="Some simple comparisons between doubles" time="{duration}"/>
@@ -835,6 +836,7 @@
</system-out>
<system-err>
A string sent directly to stderr
+A string sent to stderr via clog
</system-err>
</testsuite>
</testsuites>
diff --git a/projects/SelfTest/Baselines/xml.sw.approved.txt b/projects/SelfTest/Baselines/xml.sw.approved.txt
index be6c4f3..0821516 100644
--- a/projects/SelfTest/Baselines/xml.sw.approved.txt
+++ b/projects/SelfTest/Baselines/xml.sw.approved.txt
@@ -5260,6 +5260,7 @@
</StdOut>
<StdErr>
A string sent directly to stderr
+A string sent to stderr via clog
</StdErr>
</OverallResult>
</TestCase>
diff --git a/projects/SelfTest/UsageTests/Misc.tests.cpp b/projects/SelfTest/UsageTests/Misc.tests.cpp
index 31ffc47..c2c0853 100644
--- a/projects/SelfTest/UsageTests/Misc.tests.cpp
+++ b/projects/SelfTest/UsageTests/Misc.tests.cpp
@@ -148,8 +148,8 @@
TEST_CASE( "Sends stuff to stdout and stderr", "[.]" ) {
std::cout << "A string sent directly to stdout" << std::endl;
-
std::cerr << "A string sent directly to stderr" << std::endl;
+ std::clog << "A string sent to stderr via clog" << std::endl;
}
TEST_CASE( "null strings" ) {