Trivial.cpp example not working

2009-04-10 Thread Sylvester Steele
Hi, I was trying out the the example at https://svn.apache.org/repos/asf/logging/log4cxx/tags/v0_9_6/examples/trivial.cpp. Unfortunately it isn't working yet. My code looks like: #include #include #include #include #include using namespace std; using namespace log4cxx; using namespace log

Re: Trivial.cpp example not working

2009-04-10 Thread Curt Arnold
It was a little unusual that you were going off such a old tag. The current code is so unlike 0.9.7 which was the best release for a long time but no longer can be supported. You might try explicitly namesoace qualifying the classes like ::log4cxx::BasicConfigurator::configure Otherwise try

Re: Trivial.cpp example not working

2009-04-11 Thread Sylvester Steele
I want to get started with Log4Cxx, so I just need an example. Any simple example will do.. Where can I find better examples than this? Thanks, Sylvester