Add log function to display actions