Blackhole v1.5.0 Release Notes

Release Date: 2017-02-14 // about 7 years ago
  • ➕ Added

    • 🌲 Lambda expressions with capture-list can now be used as formatting arguments. This allows to log arguments that require heavyweight transformation before the result can be used.

    For example:

    logger.log(0, "[::] - esafronov [10/Oct/2000:13:55:36 -0700] 'GET {} HTTP/1.0' 200 2326", [&](std::ostream& stream) -\> std::ostream& { return stream \<\< boost::join(paths, "/"); } );