と is used as a particle to express the exact nature of what has been 'verbed', as it were. As opposed to a general concept being said/heard/etc. This works with 言う as well as 話す and 聞く.
For example,
「彼女が遅刻したら、電話で言い訳を言った」
When she was late, she gave an excuse on the phone.
「彼女が遅刻したら、電話で『電車の運転が見合わせ』と言った」
When she was late, she said "the train is stopped."
But essentially you use と with 言う. I'm on no sleep so my example is kinda weak but hopefully either you understand or somebody better at explaining things than me can lay it out for you.
Ok that makes sense now, but your example brought up another question ha ha. What is したら? i assume した is the past for of "to do" as in "she did late" but why have the ら?