Use std::pair instead of LogOutput class.