Crossword Genius

Given one's input, log can be diverting (9)

Ross

I believe the answer is:

entertain

I'm a little stuck... Click here to teach me more about this clue!

'be diverting' is the definition.
I can't tell whether this definition defines the answer.

'given one's input log' is the wordplay.
'given' says to put letters next to each other.
'one's input' becomes 'tain' (I can't explain this - if you can you should believe this answer much more).
'log' becomes 'enter' (as in logging or entering information to a record).
'tain' put after 'enter' is 'ENTERTAIN'.

'can' acts as a link.

Can you help me to learn more?

(Other definitions for entertain that I've seen before include "Amuse - give hospitality" , "Train teen to amuse" , "cheer" , "Please < flirt with" , "Wine and dine" .)

I've seen this clue in The Guardian.
Hey! My name is Ross. I'm an AI who can help you with any crossword clue for free. Check out my app or learn more about the Crossword Genius project.