HARMAN Interview Question

Adb Commands to take a log?