Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2007-11-25 23:29:01


Author: jtorjo
Date: 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
New Revision: 41390
URL: http://svn.boost.org/trac/boost/changeset/41390

Log:
[logging]
v0.12.4, 26 nov 2007
- removed copyright from examples (scenarios) - so that they're easier to read in the documentation
Text files modified:
   sandbox/logging/boost/logging/detail/raw_doc/changelog.hpp | 3 ++-
   sandbox/logging/boost/logging/detail/raw_doc/todo.hpp | 10 ----------
   sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/fastest_no_ostr_like.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/fastest_use_ostr_like.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/mul_levels_mul_logers.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/mul_levels_one_logger.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/mul_loggers_one_filter.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/no_levels_with_route.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/one_loger_one_filter.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/using_tags.cpp | 18 ------------------
   sandbox/logging/lib/logging/samples/scenarios/your_scenario.cpp | 19 -------------------
   14 files changed, 2 insertions(+), 228 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-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,7 +1,8 @@
 /**
 @page page_changelog Changelog
 
-_at_section changelog_cur_ver Current Version: v0.12.3, 26 nov 2007
+@section changelog_cur_ver Current Version: v0.12.4, 26 nov 2007
+- removed copyright from examples (scenarios) - so that they're easier to read in the documentation
 - added scoped logs
 - removed #ifdef SINGLE_TEST from scenarios
 - added todo.html

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -27,16 +27,6 @@
 - @c high test TSS on vs2003 and gcc/pthreads \n
   (note: tested on pthreads; however - about internal implementation : 2 TSS objects are leaked on pthreads, need to see why)
 
-- @c must_have scoped logs - see if possible not to lose any extra info \n
- (for instance, LDBG_ << "somethign" might gather stuff like thread_id, etc.)
- we could have: \n
- scoped_log lg(start_end("start","end"), LDBG_ << startend << ....); \n
- all depends on how easy your log macros are.
- OR: \n
- BOOST_SCOPED_LOG(LDBG_, some_info); \n
- which creates a dummy class, and in its constructor calls LDBG_ << "start" << someinfo and
- on destructor calls LDBG_ << "end" << someinfo.
-
 - @c high if *used* before main, it'll cache the messages, and then write them ASAP; \n
     will have a func - like, do_write() - which will write all that was cached, and then turn cache off \n
     ----- i have to see if reasonable to later ask if a log is enabled or not, or just dump all messages written before initializing the log

Modified: sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/custom_fmt_dest.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// custom_fmt_dest.cpp
-//
-// This example shows you how easy it is to add your custom formatter /destination classes.
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example custom_fmt_dest.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/ded_loger_one_filter.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// ded_loger_one_filter.cpp
-//
-// A test of the Logging library with one logger and one filter. The logger is thread-safe, writing on a dedicated thread.
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example ded_loger_one_filter.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/fastest_no_ostr_like.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/fastest_no_ostr_like.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/fastest_no_ostr_like.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// fastest_no_ostr_like.cpp
-//
-// Fastest. Does not use Formatters/Destinations. As logging syntax, uses the () operator
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example fastest_no_ostr_like.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/fastest_use_ostr_like.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/fastest_use_ostr_like.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/fastest_use_ostr_like.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// fastest_use_ostr_like.cpp
-//
-// Fastest. Does not use Formatters/Destinations. As logging syntax, uses the << operator
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example fastest_use_ostr_like.cpp
 

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// mul_levels_mul_logers.cpp
-//
-// A test of the Logging library with multiple levels and multiple logging classes (each writing to multiple destinations).
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example mul_levels_mul_logers.cpp
 

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// mul_levels_one_logger.cpp
-//
-// A test of the Logging library with multiple levels and one logging class writing to multiple destinations.
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example mul_levels_one_logger.cpp
 

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// mul_loggers_one_filter.cpp
-//
-// A test of the Logging library with multiple levels, multiple logging classes (each writing to multiple destinations) and one filter.
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example mul_loggers_one_filter.cpp
 

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// no_levels_with_route.cpp
-//
-// A test of the Logging library with no levels and one logging class writing to multiple destinations, using a custom route.
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example no_levels_with_route.cpp
 

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 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// one_loger_one_filter.cpp
-//
-// A test of the Logging library with one logger and one filter
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example one_loger_one_filter.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/ts_loger_one_filter.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// ts_loger_one_filter.cpp
-//
-// A test of the Logging library with one logger and one filter. The logger is thread-safe
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example ts_loger_one_filter.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/using_tags.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/using_tags.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/using_tags.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,21 +1,3 @@
-// using_tags.cpp
-//
-// Shows how easy it is to use tags, using the Boost Logging Lib
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example using_tags.cpp
 

Modified: sandbox/logging/lib/logging/samples/scenarios/your_scenario.cpp
==============================================================================
--- sandbox/logging/lib/logging/samples/scenarios/your_scenario.cpp (original)
+++ sandbox/logging/lib/logging/samples/scenarios/your_scenario.cpp 2007-11-25 23:29:00 EST (Sun, 25 Nov 2007)
@@ -1,22 +1,3 @@
-// your_scenario.cpp
-//
-// A test of the Logging library with multiple levels, multiple logging classes (each writing to multiple destinations) and one filter.
-// The logger and filter are specified using the boost::logging::scenario namespace
-
-// Boost Logging library
-//
-// Author: John Torjo, www.torjo.com
-//
-// Copyright (C) 2007 John Torjo (see www.torjo.com for email)
-//
-// Distributed under the Boost Software License, Version 1.0.
-// (See accompanying file LICENSE_1_0.txt or copy at
-// http://www.boost.org/LICENSE_1_0.txt)
-//
-// See http://www.boost.org for updates, documentation, and revision history.
-// See http://www.torjo.com/log2/ for more details
-
-
 /**
 @example your_scenario.cpp
 


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