Add the possibility in `OptimizationLogger` to log additional functions.
Add the possibility in
OptimizationLoggerto log additional functions.