Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-11-09 18:06:17


Author: jtorjo
Date: 2007-11-09 18:06:16 EST (Fri, 09 Nov 2007)
New Revision: 40977
URL: http://svn.boost.org/trac/boost/changeset/40977

Log:
[logging]
v0.11.4, 10 nov 2007
- made basic_usage compile again (some late changes made the build break)
Text files modified:
   sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp | 3 ++-
   sandbox/logging/lib/logging/samples/basic_usage/log.cpp | 4 +++-
   sandbox/logging/lib/logging/samples/basic_usage/log.h | 3 ++-
   3 files changed, 7 insertions(+), 3 deletions(-)

Modified: sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp
==============================================================================
--- sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp (original)
+++ sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp 2007-11-09 18:06:16 EST (Fri, 09 Nov 2007)
@@ -1,7 +1,8 @@
 /**
 @page page_changelog Changelog
 
-_at_section changelog_cur_ver Current Version: v0.11.3, 10 nov 2007
+@section changelog_cur_ver Current Version: v0.11.4, 10 nov 2007
+- made basic_usage compile again (some late changes made the build break)
 - removed #ifdef that would allow TSS only on Windows
 - can now see the current version from the contents
 - compiles with gcc 3.4.2, gcc 4.1, and VS 2005

Modified: sandbox/logging/lib/logging/samples/basic_usage/log.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/basic_usage/log.cpp (original)
+++ sandbox/logging/lib/logging/samples/basic_usage/log.cpp 2007-11-09 18:06:16 EST (Fri, 09 Nov 2007)
@@ -1,12 +1,14 @@
 
 #include "log.h"
 #include <boost/logging/format.hpp>
+#include <boost/logging/writer/ts_write.hpp>
+
+using namespace boost::logging;
 
 // Step 6: Define the filters and loggers you'll use
 BOOST_DEFINE_LOG(g_l, log_type)
 BOOST_DEFINE_LOG_FILTER(g_l_filter, level::holder)
 
-using namespace boost::logging;
 
 void init_logs() {
     // Add formatters and destinations

Modified: sandbox/logging/lib/logging/samples/basic_usage/log.h
==============================================================================
--- sandbox/logging/lib/logging/samples/basic_usage/log.h (original)
+++ sandbox/logging/lib/logging/samples/basic_usage/log.h 2007-11-09 18:06:16 EST (Fri, 09 Nov 2007)
@@ -8,13 +8,14 @@
 
 #ifndef BOOST_LOG_COMPILE_FAST
 #include <boost/logging/format.hpp>
+#include <boost/logging/writer/ts_write.hpp>
 #endif
 
 // Step 3 : Specify your logging class(es)
 typedef boost::logging::logger_format_write< > log_type;
 
 // Step 4: declare which filters and loggers you'll use
-BOOST_DECLARE_LOG_FILTER(g_l_filter, level::holder)
+BOOST_DECLARE_LOG_FILTER(g_l_filter, boost::logging::level::holder)
 BOOST_DECLARE_LOG(g_l, log_type)
 
 // Step 5: define the macros through which you'll log


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