summaryrefslogtreecommitdiff
path: root/boost/test/unit_test_log.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/test/unit_test_log.hpp')
-rw-r--r--boost/test/unit_test_log.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/test/unit_test_log.hpp b/boost/test/unit_test_log.hpp
index 4e6a97b3c2..6944ffa79a 100644
--- a/boost/test/unit_test_log.hpp
+++ b/boost/test/unit_test_log.hpp
@@ -137,6 +137,13 @@ public:
//! @par Since Boost 1.62
void set_stream( output_format, std::ostream& );
+ //! Returns a pointer to the stream associated to specific logger
+ //!
+ //! @note Returns a null pointer if the format is not found
+ //! @par Since Boost 1.67
+ std::ostream* get_stream( output_format ) const;
+
+
//! Sets the threshold level for all loggers/formatters.
//!
//! This will override the log level of all loggers, whether enabled or not.