0

log4cpp ConfigureFailure

Posted by Joys of Programming on in C/C++

log4cpp programs can be configured using configuration files. But while using log4cpp configurations, you may come across various errors. These can be tracked using log4cpp::ConfigureFailure. See the following program how the missing file error is caught. Suppose that /home/user/conf doesn’t exist. You will get the following excetion

Tags: , , , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.