swebb2066 opened a new pull request, #301:
URL: https://github.com/apache/logging-log4cxx/pull/301
This PR add a Log4cxx extension to support complex algorithm development. I
found this necessary in many cases to diagnose behaviour when process large
data sets.
An example of my usage in a test is:
```
log4cxx::ScopedLevelChange ctx2("ConfigurationTrajectoryCost",
m_log);
ProblemType::DurationVector solutionDurations =
func.GetStepDurations(solver.Solution());
LOG4CXX_DEBUG(m_log, "testAlternatingSpeeds:"
<< " solutionDuration " << solutionDurations.Sum()
<< ": " << solutionDurations
);
BOOST_CHECK_LE(solutionDurations.Sum(), initialGuessDurations.Sum());
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]