User Activity

  • Posted a comment on discussion Help on Boost.Log

    This is the example being followed : BOOST_LOG_ATTRIBUTE_KEYWORD(severity, "Severity", severity_level) BOOST_LOG_ATTRIBUTE_KEYWORD(channel, "Channel", std::string) logging::add_file_log( keywords::file_name = "A.log", keywords::filter = channel == "A"); logging::add_file_log( keywords::file_name = "B.log", keywords::filter = channel == "B"); typedef src::severity_channel_logger< severity_level, std::string > logger_type; logger_type lg_a(keywords::channel = "A"); logger_type lg_b(keywords::channel...

  • Posted a comment on discussion Help on Boost.Log

    Boost version : 1.72.0 compiler : gcc - version 9.3.0

  • Posted a comment on discussion Help on Boost.Log

    I am using this example https://www.boost.org/doc/libs/1_60_0/libs/log/example/doc/expressions_channel_severity_filter.cpp compiler is c++11

  • Posted a comment on discussion Help on Boost.Log

    Below line is gving the error: BOOST_LOG_ATTRIBUTE_KEYWORD(a_channel,"Channel", std::string) Error : error: template argument 1 is invalid typedef ::boost::log::expressions::attribute_keyword< tag_ns_::keyword_ > BOOST_PP_CAT(keyword_, _type);

View All

Personal Data

Username:
s05
Joined:
2021-03-23 11:01:48

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB