Activity for Narasing

  • Narasing Narasing posted a comment on discussion Help

    Thank you very much. I will look into that section you provided. Really appreciate your help on custom attributes. On the linking, it is strange, may be something to do with my VS2015, it complains about C++14 as well. I will get latest update and try again. Thanks again!

  • Narasing Narasing posted a comment on discussion Help

    I am particularly looking to know if I can add custom paramters and use parse_settings to get it and use them in the ilter for scope filtering via configuration file. I would really appreciate if you could point me to something. thanks again.

  • Narasing Narasing posted a comment on discussion Help

    Hi Andrey, thanks for reply. Yes. I have implemented logger initialization something similiar to this. But somehow it fails to link with driver program. / my_logger.h // =========== BOOST_LOG_GLOBAL_LOGGER(my_logger, src::severity_logger_mt) // my_logger.cpp // =========== include "my_logger.h" BOOST_LOG_GLOBAL_LOGGER_INIT(my_logger, src::severity_logger_mt) { src::severity_logger_mt< > lg; lg.add_attribute("StopWatch", boost::make_shared< attrs::timer >()); return lg; } I have been able to resolve...

  • Narasing Narasing posted a comment on discussion Help

    I was able to resolve #4 , by linking with psapi.lib. Perhaps, it depends on this for windows env only.

  • Narasing Narasing posted a comment on discussion Help

    on #1, when I use BOOST_LOG_GLOBAL_LOGGER in logger.hpp and BOOST_LOG_GLOBAL_LOGGER_INIT in logger.cpp , I am getting the following linker error in the driver program(hello_test.cpp): hello_test.obj error LNK2001 unresolved external symbol "public static class: boost::log::v2s_mt_nt6::sources::severity_channel_mt<enum boost::log::v2s_mt_nt6::trivial::severity_level,="" class="" std::basic_string<char,="" std::char_traits<="" char="">, std::allocator<char>> > __cdecl mynamespace::construct_logger(void)"...

  • Narasing Narasing posted a comment on discussion Help

    I was able to resolve the scope filtering issue. Thank you so much for your help!

  • Narasing Narasing posted a comment on discussion Help

    When I use BOOST_LOG_GLOBAL_LOGGER in hpp and BOOST_LOG_GLOBAL_LOGGER_INIT in.cin.cpp I get linker error on construct_logger(void) . It does not recognize the symbol. I cant post from work anymore will type complete signature shortly.Tshortly.Thasks for reply

  • Narasing Narasing posted a comment on discussion Help

    1.66 Boost version on MSVC 2015- forgot to add this.

  • Narasing Narasing posted a comment on discussion Help

    Hi I am tring to use boost log for my project and facing difficulty with following: 1. unable to use BOOST_LOGGLOBAL_LOGGER/BOOST_LOG_GLOBAL_LOGGER_INIT havint o use BOOST_LOG_INLINE_GLOBAL_LOGGER_DEFAULT to get rid of linker error 2. BOOST_LOG_SEV(my_logger::get(), boost::log::trivial::trace) \ << logging::add_value("RecordLine", LINE__) \ << logging::add_value("CurrentFunction", BOOST_CURRENT_FUNCTION) vs set_format. Only can see everything in set_format nothing above. which takes precedence? is...

1