endif
Regards,
M. Song
- 메시지 원본
보낸 사람: peter.doornbosch <[EMAIL PROTECTED]>
받는 사람: Log4CXX User
보낸 시간: 2008년 12월 11일 (목요일), 2:20:42 AM
제목: Re: Link error when using Layout on MS Windows
Hi,
> Anytime an argument takes a LogString or a logchar*, you should use
> LOG4CXX_
Hi,
Anytime an argument takes a LogString or a logchar*, you should use
LOG4CXX_STR() in the same manner you'd use _T() for TCHAR*.
That's valueable information.
Now that i know it, i see that it is mentioned in the FAQ. However, i
didn't spot it there. I suggest the following question bei
On Dec 9, 2008, at 2:44 PM, peter.doornbosch wrote:
Hi,
log4cxx::LoggerPtr
tmpLogger( log4cxx::Logger::getLogger("SIM.TEST") );
// set logger level
tmpLogger->setLevel( log4cxx::Level::getDebug() );
// set appender properties
===> log4cxx::PatternLayoutPtr layout( new
log
Hi,
log4cxx::LoggerPtr
tmpLogger( log4cxx::Logger::getLogger("SIM.TEST") );
// set logger level
tmpLogger->setLevel( log4cxx::Level::getDebug() );
// set appender properties
===> log4cxx::PatternLayoutPtr layout( new
log4cxx::PatternLayout( "%d %-5p [%l] [%c:%M] %m%n" )
Hello,
I am experiencing a link error when I am trying to add a new logger on the fly.
The code snippet is shown below and it works fine on Linux.
But running on MS Windows causes a link error.
When I commented out two lines indicated by ===>, I don't see any link error.
Changing the PatternLayo