Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2008-01-14 21:04:52


Author: jtorjo
Date: 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
New Revision: 42787
URL: http://svn.boost.org/trac/boost/changeset/42787

Log:
[logging]
v0.13.15, 15 jan 2008
- automatically include writer/ts_write.hpp from format.hpp

Text files modified:
   sandbox/logging/boost/logging/detail/raw_doc/todo.hpp | 2 ++
   sandbox/logging/boost/logging/format.hpp | 1 +
   sandbox/logging/boost/logging/writer/ts_write.hpp | 2 +-
   sandbox/logging/lib/logging/internal/vc8/loggingvc8/test_now.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/cache_before_init.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/mul_levels_mul_logers.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/mul_levels_one_logger.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/mul_loggers_one_filter.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/no_levels_with_route.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/one_loger_one_filter.cpp | 1 -
   sandbox/logging/lib/logging/samples/scenarios/use_tss_ostringstream.cpp | 1 -
   11 files changed, 4 insertions(+), 9 deletions(-)

Modified: sandbox/logging/boost/logging/detail/raw_doc/todo.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/raw_doc/todo.hpp (original)
+++ sandbox/logging/boost/logging/detail/raw_doc/todo.hpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -22,6 +22,8 @@
 
 @section todo_implementation Implementation
 
+- @c normal on_dedicated_thead - remove dependency on boost::thread
+
 - @c high What should I do if someone is trying to use the log after it's been destroyed?
 
 - @c high Provide a Jamfile to build the examples/tests

Modified: sandbox/logging/boost/logging/format.hpp
==============================================================================
--- sandbox/logging/boost/logging/format.hpp (original)
+++ sandbox/logging/boost/logging/format.hpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -594,6 +594,7 @@
 #include <boost/logging/format/formatter/defaults.hpp>
 #include <boost/logging/format/destination/defaults.hpp>
 #include <boost/logging/gather/ostream_like.hpp>
+#include <boost/logging/writer/ts_write.hpp>
 
 
 

Modified: sandbox/logging/boost/logging/writer/ts_write.hpp
==============================================================================
--- sandbox/logging/boost/logging/writer/ts_write.hpp (original)
+++ sandbox/logging/boost/logging/writer/ts_write.hpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -34,7 +34,7 @@
     }
 
 /**
-<tt>\#include <boost/logging/writer/on_dedicated_thread.hpp> </tt>
+<tt>\#include <boost/logging/format.hpp> </tt>
 
 Performs all writes in a thread-safe manner.
 In other words, makes sure that all operator() calls of base_type are called in a thread-safe manner.

Modified: sandbox/logging/lib/logging/internal/vc8/loggingvc8/test_now.cpp
==============================================================================
--- sandbox/logging/lib/logging/internal/vc8/loggingvc8/test_now.cpp (original)
+++ sandbox/logging/lib/logging/internal/vc8/loggingvc8/test_now.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -38,7 +38,6 @@
 
 #include <boost/logging/format.hpp>
 #include <boost/logging/format/destination/rolling_file.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 using namespace boost::logging;
 

Modified: sandbox/logging/lib/logging/samples/scenarios/cache_before_init.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/cache_before_init.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/cache_before_init.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -69,7 +69,6 @@
 BOOST_LOG_FORMAT_MSG( optimize::cache_string_one_str<> )
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 typedef boost::logging::logger_format_write< > log_type;
 

Modified: sandbox/logging/lib/logging/samples/scenarios/mul_levels_mul_logers.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/mul_levels_mul_logers.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/mul_levels_mul_logers.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -65,7 +65,6 @@
 BOOST_LOG_FORMAT_MSG( optimize::cache_string_one_str<> )
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 // Step 3 : Specify your logging class(es)
 typedef boost::logging::logger_format_write< > log_type;

Modified: sandbox/logging/lib/logging/samples/scenarios/mul_levels_one_logger.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/mul_levels_one_logger.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/mul_levels_one_logger.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -29,7 +29,6 @@
 
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 //#include <boost/logging/format/formatter/high_precision_time.hpp>
 #include <boost/logging/format/destination/named.hpp>
 

Modified: sandbox/logging/lib/logging/samples/scenarios/mul_loggers_one_filter.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/mul_loggers_one_filter.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/mul_loggers_one_filter.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -64,7 +64,6 @@
 BOOST_LOG_FORMAT_MSG( optimize::cache_string_one_str<> )
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 using namespace boost::logging;
 
 // Step 3 : Specify your logging class(es)

Modified: sandbox/logging/lib/logging/samples/scenarios/no_levels_with_route.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/no_levels_with_route.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/no_levels_with_route.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -57,7 +57,6 @@
 BOOST_LOG_FORMAT_MSG( optimize::cache_string_several_str<> )
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 using namespace boost::logging;
 

Modified: sandbox/logging/lib/logging/samples/scenarios/one_loger_one_filter.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/one_loger_one_filter.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/one_loger_one_filter.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -37,7 +37,6 @@
 BOOST_LOG_FORMAT_MSG( optimize::cache_string_one_str<> )
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 using namespace boost::logging;
 

Modified: sandbox/logging/lib/logging/samples/scenarios/use_tss_ostringstream.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/use_tss_ostringstream.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/use_tss_ostringstream.cpp 2008-01-14 21:04:51 EST (Mon, 14 Jan 2008)
@@ -42,7 +42,6 @@
 
 
 #include <boost/logging/format.hpp>
-#include <boost/logging/writer/ts_write.hpp>
 
 using namespace boost::logging;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk