HARMAN interview question

Adb Commands to take a log?