optimization-logger.hh: move implementation to .hxx.
optimization-logger.hh: make it usable with a callback multiplexer.