Boost logo

Boost Users :

Subject: [Boost-users] [log] ThreadID attribute is empty
From: Igor R (boost.lists_at_[hidden])
Date: 2013-12-05 03:54:07


I'm formatting a sink like this:
          << expr::attr<boost::posix_time::ptime>("TimeStamp")
          << " T:" << expr::attr<boost::thread::id>("ThreadID") << ":"
          << expr::smessage

For some reason ThreadID is empty. I tried to register the attribute explicitly:
but it doesn't help.

The program is mutithreaded and linked with mt static libs.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at