I have a question regarding the word "tell/told" I want to say "I told him that XXX" After some research, this is what I came up with.
彼に「XXX」を伝えた。
彼に「XXX」を言った。
I was wondering if they both have different level of formality? or which one is better use with friend?
EDIT: I still don't understand it, after reading the suggested duplicate question. However, this is better elaborated by the answer below.
Thank you