Use log function for all analysis steps.