Log output with timestamp