Subject: [Boost-bugs] [Boost C++ Libraries] #13257: Log attributes passed as arguments to open_record are ignored
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-10-11 19:19:04
#13257: Log attributes passed as arguments to open_record are ignored
-------------------------------------------------+-------------------------
Reporter: Thomas M. Bernal <tbernal@â¦> | Owner: Andrey
| Semashev
Type: Bugs | Status: new
Milestone: To Be Determined | Component: log
Version: Boost 1.64.0 | Severity: Showstopper
Keywords: open_record basic_logger |
open_record_unlocked |
-------------------------------------------------+-------------------------
Why does boost::log::sources::basic_logger::open_record_unlocked(ArgsT
const&) ignore its argument when calling boost::log::core::open_record()?
{{{
#!cpp
/*!
* Unlocked \c open_record
*/
template< typename ArgsT >
record open_record_unlocked(ArgsT const&)
{
return m_pCore->open_record(m_Attributes);
}
}}}
The boost::log::sources::logger_mt::open_record() eventually passes the
attributes to this function where they are summarily ignored. How is
something as fundamental to the Boost Log library as
BOOST_LOG_WITH_PARAMETERS() supposed to work! It doesn't, by the way.
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13257> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-10-11 19:25:18 UTC