This release mostly fixes bugs in the code and documentation.
-
Added support for Boost.Filesystem
v3.
-
A number of bugs fixed.
-
Corrections in the documentation.
This release mostly fixes bugs in the code and documentation. The next major
release (2.0) will contain breaking changes and feature additions. The 1.0
branch will not receive any feature updates.
-
Added some optimization for thread local storage. In Windows setups, if
you dynamically load Boost.Log binaries during the application run time,
this optimization may lead to crashes. In that case, you may disable it
by defining
BOOST_LOG_NO_COMPILER_TLS
during the library build process. The macro also affects other platforms,
which may be useful if your compiler does not support TLS.
-
Added a few public accessors and convenience constructors to severity and
channel loggers.
-
Added ability to rotate log files at the specified time points. The
rotation_interval
keyword is no longer
available. The same functionality is achieved with the new time_based_rotation
keyword and the
rotation_at_time_interval
predicate. See here
for more details.
-
Improved support for MinGW and Cygwin.
-
A number of bugs fixed. Added workarounds to compile on GCC 4.2.
-
Lots of corrections in the documentation.
-
Substantial documentation improvement. The tutorial section has been reorganized.
-
Library headers have been reorganized. Some other Boost libraries that
were previously included by headers have been made optional. Such dependencies
have been extracted into separate headers in the
support
directory. Top level library headers now mostly include nested headers.
-
Keywords have moved into a dedicated
keywords
namespace. There are no longer nested keywords
namespaces in sinks
, attributes
, etc. All keywords have been
extracted into separate headers in the keywords
directory.
-
Removed rotating file stream. As a replacement, a new
file sink has been added, which allows to achieve the same results
ans adds a few more features.
-
Added a new multifile
sink backend.
-
Added a new ordering
asynchronous sink frontend.
-
The syslog sink
backend is now supported on Windows, too. The sink no longer requires native
support for POSIX API for syslog, but is able to send syslog packets to
a remote server over UDP.
-
Loggers implementation has been improved. Feature composition mechanism
has been cleaned up.
-
Added support for scoped logging. There is now a distinct log
record entity, which is returned by the core as a result of filtering.
It is possible to fill in the record message in any way the user wants,
not necessarilly with a streaming expression. The record object is now
processed by sinks and formatters.
-
Added support for exception control. User can register exception handlers
at one of the three layers: for a particular sink, at the core layer, and
for a particular logger (given that it has the appropriate feature). Sinks
and core will not suppress exceptions by default. Filter and formatters
will throw if the requested attribute value is not found.
-
Added a few new formatters, called character
decorators. These can be useful to post-process the formatted output
before passing it on to the sink.
-
Added attributes for thread and process identifiers. These identifiers
are automatically added after the call to
add_common_attributes
.
-
Helper initialization functions, such as
init_log_to_file
now accept more customization options as named arguments.
-
A new initialization
interface has been exposed. One can fill a settings container and
use it to initialize the library.
-
The library setup support code has beed extracted into a separate binary.
Further on, this binary will be made optional to build.
-
Added a new mode of logging, called trivial logging. In this mode the library
requires no initialization at all, however it does not offer many ways
of customization.
-
A number of bugs fixed.
-
A few optimizations added to improve multithreaded applications performance.
-
Removed some bug workarounds for older Boost releases. The library now
requires Boost 1.39 or newer.
-
Substantial documentation improvement.
-
Added several Windows-specific sinks: Event Log (simplified and advanced),
Windows debugger and experimental Event Trace for Windows Vista and later.
-
Loggers now consist of a number of independent features that can be composed
the way the user needs. User-defined features can be developed and injected
into the mix.
-
Attribute value extractors improved. With the new extract function attribute
values can be extracted from the attribute values view by employing lambda
functors.
-
Some files and classes were moved or renamed to improve code clarity and
shorten names.
-
A number of bugs fixed.
-
Added tests.
Noone really remembers these dark ages...