How to take adb logcat , and store it in system?

How to use appium-adb in the project. Already installed appium-adb using npm. But don’t know how to use it in the project.
https://github.com/appium/appium-adb

@rgonalo