Logging utility used by machine learning and optimization tools.