[Log4cplus-devel] [ log4cplus-Bugs-3307368 ] Code example issue
Logging Framework for C++
Brought to you by:
wilx
From: SourceForge.net <no...@so...> - 2012-09-19 11:01:47
|
Bugs item #3307368, was opened at 2011-05-25 02:08 Message generated for change (Comment added) made by wilx You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3307368&group_id=40830 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Roman A Musiy (rmusiy) Assigned to: Václav Zeman (wilx) Summary: Code example issue Initial Comment: Hi, when i tried compile helloworld app there was error message: error C2665: 'log4cplus::Logger::getInstance' : none of the 2 overloads could convert all the argument types to fix this you have to replace Logger logger = Logger::getInstance("main"); to Logger logger = Logger::getInstance(L"main"); ---------------------------------------------------------------------- >Comment By: Václav Zeman (wilx) Date: 2012-09-19 04:01 Message: I believe this is now fixed on the site. ---------------------------------------------------------------------- Comment By: Václav Zeman (wilx) Date: 2011-05-25 02:23 Message: The examples are very basic. You should use LOG4CPLUS_TEXT("main") instead of direct L"main". I will change the code example on the web. Thanks for the report. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=429073&aid=3307368&group_id=40830 |