Unity Games Filter unwanted logs in Logcat

Source: Internet
Author: User

ADB Logcat | Grep-v "Unityenginedebug.cpp\|:\ s*$ " | grep Unity

Significance:

1. Grep-v "Filter conditions 1\| filter Conditions 2\| filter conditions ...."

Filter out the following two types of logs:

One is a line that ends with a colon, and one is a row with UnityEngineDebug.cpp. The middle is separated by "\".

2. grep unity: Show only lines with unity

This is the filter after the log information, is not looking much better?

Note: You need to install grep on your Windows PC, and if you have Git installed on your PC, you can find Grep.exe in the Git directory]/usr/bin folder and then add that folder to the environment variable to use it.

If Git is not installed: Think of something more, you might consider installing Git or cygwin.

Unity Games Filter unwanted logs in Logcat

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.