Add send log functionality.