Added a customized logger to help with benchmarking.