logger: s/boost::function/std::function/g