Hello, Boost logger has a Macro BOOST_LOG_INIT that takes only one parameter "format" and not two as mentioned in the documentation. The log level is initialized to 0. When I tried to log some messages using BOOST_LOG_UNFORMATTED Macro with log level 0, there is no log in the file. Its an empty file altogether. Can someone help. Thanks, Lakers. _________________________________________________________________ See what people are saying about Windows Live. Check out featured posts. http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008
On Wed, 27 Aug 2008 16:19:48 +0200, lakers fan
Hello, Boost logger has a Macro BOOST_LOG_INIT that takes only one parameter "format" and not two as mentioned in the documentation. The log level is initialized to 0. When I tried to log some messages using BOOST_LOG_UNFORMATTED Macro with log level 0, there is no log in the file. Its an empty file altogether.
Which logging library are you using? I know John's (see http://torjo.com/log2/doc/html/index.html) and Andrey's (see http://boost-log.sourceforge.net/libs/log/doc/html/index.html) but they both don't define a macro BOOST_LOG_INIT as far as I know? Boris
I got the library from http://www.boostpro.com/vault/showtophits.php?PHPSESSID=498eit1ms0ddep27o And I also read in John Torjo's website, it does have the BOOST_LOG_IN macro. Thanks, Bharani
To: boost-users@lists.boost.org> From: boriss@web.de> Date: Fri, 29 Aug 2008 13:47:55 +0200> Subject: Re: [Boost-users] boost logger problem.> > On Wed, 27 Aug 2008 16:19:48 +0200, lakers fan
wrote:> > >> > Hello,> > Boost logger has a Macro BOOST_LOG_INIT that takes only one > > parameter "format" and not two as mentioned in the documentation. The > > log level is initialized to 0. When I tried to log some messages using > > BOOST_LOG_UNFORMATTED Macro with log level 0, there is no log in the > > file. Its an empty file altogether.> > Which logging library are you using? I know John's (see > http://torjo.com/log2/doc/html/index.html) and Andrey's (see > http://boost-log.sourceforge.net/libs/log/doc/html/index.html) but they > both don't define a macro BOOST_LOG_INIT as far as I know?> > Boris> > _______________________________________________> Boost-users mailing list> Boost-users@lists.boost.org> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®. http://clk.atdmt.com/MRT/go/108588797/direct/01/
On Fri, 29 Aug 2008 16:25:53 +0200, lakers fan
I got the library from http://www.boostpro.com/vault/showtophits.php?PHPSESSID=498eit1ms0ddep27o
I see two logging libraries there: logging.zip from August 2007 and boost-logger-lpp.zip from April 2007. The latest version of John's logging library is from February this year, and Andrey's is from August this year. That said I don't know what the logging libraries in the vault are - it looks like they are not the latest versions. Boris
[...]
participants (2)
-
Boris
-
lakers fan