Appium: how to add adb logs in the project

I want to know how to get the logs(all the mobile activities happening while running a script) , i want to catch all the adb logs and add in the script, I just switched to mobile automation.

@Al_Imran if you can provide me some link or code to help above.
Also a link to find running framework will also help. Looking for your support