[log] v2 beta 1 mini-review request

Hi, It's been a while since Boost.Log v1 was reviewed back in 2010. Here is the review result: http://lists.boost.org/boost-announce/2010/03/0256.php But the time was spent for purpose as the library took substantial changes. I've just uploaded the v2 beta 1 to the SourceForge project page: Code: http://sourceforge.net/projects/boost-log/files/boost-log-2.0-beta1-r800.zip... Docs: http://boost-log.sourceforge.net/libs/log/doc/html/index.html SVN: svn co https://boost-log.svn.sourceforge.net/svnroot/boost-log/trunk/boost-log I must say this is not the final release; the docs are not quite complete (in particular, the Extending the library section has not been updated yet) and the code may have rough edges here and there. But it is good enough to review the changes, or the whole library if you haven't got acquainted with v1. The change log is quite big, you can see it here: http://boost-log.sourceforge.net/libs/log/doc/html/log/changelog.html I'll just mention the most significant highlights here: - Character type support unified. Log records, core, filters and most sinks have been made character type agnostic. It is possible now to emit log records with messages with different character types in a single application. Character code conversion will be performed as needed when formatting log records. - Filters and formatters were rewritten and are now based on Boost.Phoenix. Unified attribute value placeholders in filters and formatters. The template expressions now reside in the common namespace "expressions". - Added support for attribute keywords in filters and formatters. Attribute keywords identify particular attribute values within log records; their use significantly simplify template expressions syntax. - Reworked attribute value extraction. In fact, the old extraction API has been split into visitation and the new extraction APIs. In conjunction with attribute keywords this makes extracting attribute values very simple. - Introduced a concept of a default sink which is used when no sinks are registered in the logging core. The sink outputs formatted log records to the console. - Trivial logging now outputs to console by default. Actually, trivial logging logs to the default sink by default. - Asynchronous sink now supports customizing record queueing strategies. New bounded queue strategies solve the problem of log records piling in the queue. - Attributes are now implemented following the pimpl pattern; it is no longer needed to create attributes using make_shared or new. This simplified attribute registration code. - Channel logger now allows changing channel name after construction. I don't plan any major changes to the code until the final release, unless something critical comes up during the review. I will keep updating the docs in the coming days and will request permission to merge to Boost when done. Comments are welcome.

First, congratulations for reaching this point, it took time but this library is very good and useful so it's worth waiting for each update. Second, I will try this new version somewhere next week and will try to provide feedback on the coding aspect(as a user). I think I will read the documentation before. Third, I remember giving feedback about the documentation, and a quick look at the new one confirm me that you took the input in consideration, which makes the documentation better shaped. Good work! Joel Lamotte

I also forgot to ask: Am I correct that this new version targets Boost 1.52? Joel Lamotte

On Wed, Jan 9, 2013 at 10:35 AM, Klaim - Joël Lamotte <mjklaim@gmail.com>wrote:
I also forgot to ask: Am I correct that this new version targets Boost 1.52?
Joel Lamotte
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
The docs indicate that the library supports Boost 1.48 or higher. http://boost-log.sourceforge.net/libs/log/doc/html/log/changelog.html

On January 9, 2013 6:09:31 AM Joshua Boyce <raptorfactor@raptorfactor.com> wrote:
On Wed, Jan 9, 2013 at 10:35 AM, Klaim - Joël Lamotte <mjklaim@gmail.com>wrote:
I also forgot to ask: Am I correct that this new version targets Boost 1.52?
The docs indicate that the library supports Boost 1.48 or higher.
http://boost-log.sourceforge.net/libs/log/doc/html/log/changelog.html
Correct. I will probably raise the requirement in the final version, though.
participants (3)
-
Andrey Semashev
-
Joshua Boyce
-
Klaim - Joël Lamotte