summaryrefslogtreecommitdiff
path: root/tests/colour_log_formatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/colour_log_formatter.cpp')
-rw-r--r--tests/colour_log_formatter.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp
index 041fef8..baa8b9d 100644
--- a/tests/colour_log_formatter.cpp
+++ b/tests/colour_log_formatter.cpp
@@ -120,6 +120,23 @@ colour_log_formatter::log_build_info(std::ostream &output)
<< BOOST_VERSION % 100 << std::endl;
}
+
+
+//____________________________________________________________________________//
+
+void
+colour_log_formatter::log_build_info(std::ostream &output, bool log_build_info)
+{
+ if (log_build_info)
+ output << "Platform: " << BOOST_PLATFORM << '\n'
+ << "Compiler: " << BOOST_COMPILER << '\n'
+ << "STL : " << BOOST_STDLIB << '\n';
+
+ output << "Boost : " << BOOST_VERSION / 100000 << '.'
+ << BOOST_VERSION / 100 % 1000 << '.'
+ << BOOST_VERSION % 100 << std::endl;
+}
+
//____________________________________________________________________________//
void