Zend certified PHP/Magento developer

C++ Which library to use when I need to create separate log file for each thread [closed]

I want to write logs into separate files – one log file for each thread. Which C++ library has support for this?