User Activity

  • Modified a comment on discussion Help on Boost.Log

    Using VisualStudio 2017 (15.6.4). When compiling in x64: #define MY_LOG(_log, _sev) BOOST_LOG_SEV( _log, _sev) \ << boost::log::add_value("SrcLine", __LINE__) \ << boost::log::add_value("SrcFile", __FILE__) the following doesn't work: strm << boost::log::extract< int >("SrcLine", rec) << ": "; boost::log::value_ref< std::string > fullpath = boost::log::extract< std::string >("SrcFile", rec); strm << boost::filesystem::path(fullpath.get()).filename().string() << ": "; while the following works: strm...

  • Posted a comment on discussion Help on Boost.Log

    Using VisualStudio 2017 (15.6.4). When compiling in x64: #define MY_LOG(_log, _sev) BOOST_LOG_SEV( _log, _sev) \ << boost::log::add_value("SrcLine", __LINE__) \ << boost::log::add_value("SrcFile", __FILE__) the following doesn't work: strm << boost::log::extract< int >("SrcLine", rec) << ": "; boost::log::value_ref< std::string > fullpath = boost::log::extract< std::string >("SrcFile", rec); strm << boost::filesystem::path(fullpath.get()).filename().string() << ": "; while the following works: strm...

View All

Personal Data

Username:
mircolino
Joined:
2018-04-03 21:32:49
Location:
United States / PDT
Gender:
Male

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB