BDE 3.71.0: Production Release¶
Schedule¶
The BDE team is pleased to announce that the BDE 3.71.0 production release was completed on Monday, Jan 11, 2021.
BDE 3.71.0 Highlights¶
ball
Log Record Attributes¶
The BDE 3.71 release adds new features to the ball logging framework, the most important of which is the ability to add attributes to log records.
int processData(const bsl::string& security,
const bsl::vector<char>& data)
{
ball::ScopedAttribute securityAttribute("mylibrary.security", security);
// ...
int rc = reticulateSplines(data);
return rc;
}
int reticulateSplines(data)
{
// ...
if (0 != rc) {
BALL_LOG_ERROR << "Error computing splines (" << rc << ")";
}
return rc;
}
In the above example a logging attribute, “mylibrary.security”, is associated
with the current thread’s logging context for the lifetime of the
securityAttribute
object. As a result, if attributes have been
enabled in the log format, the error log message generated by this example
might look like:
ERROR example.cpp:105 EXAMPLE.CATEGORY mylibrary.security="IBM US Equity" Error computing splines (-1)
Important
Attributes will not appear in your log unless your ball::Observer format specification is configured to render attributes.
See Adding Context to Your Application Log and ball package-level documentation for more details.
Contact Oleg Subbotin for more information on this feature.
Fixed requests: 3.71.0¶
Summary |
---|
Ball attribute logging. |
Incorrect handling of special doubles in baljsn::DatumUtil::encode |
baljsn_datumutil.t.cpp windows test failures |
Release BDE 3.71.0 |