Advanced Spam Logcat

I'm crazy. In my application, I use a progress bar with a custom ability. Everything works fine, except that my logcat receives spam messages every time I call the setProgress(int progress)progress bar method .

Messages are as follows:

12-09 17: 11: 54.250 5918-5918 / com.mypackage D / ProgressBar: setProgress = 33, fromUser = false 12-09 17: 11: 54.250 5918-5918 / com.mypackage D / ProgressBar: mProgress = 33mIndeterminate = false , mMin = 0, mMax = 100

These messages are definitely not coming from my code, and I did not find anything related to the search here.

Here is my progress bar in xml:

            <ProgressBar
            android:id="@+id/progress_gpx_simulation"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:max="100"
            android:progress="0"
            android:indeterminate="false"
            style="?android:attr/progressBarStyleHorizontal"
            android:progressDrawable="@drawable/myprogressbar"
            android:layout_marginBottom="5dp" />

And here is how I access it programmatically:

Progressbar progressBarGpxSimulation = (ProgressBar) view.findViewById(R.id.progress_gpx_simulation);
progressBarGpxSimulation.setProgress((int) progress);

Is there any way to disable these messages? I often update the course and cannot read other log messages.

Hi

+4
3

Android Studio, logcat.

RegEx, .

^(?!.*(ProgressBar)).*$

, :)

+8

, , , . :

tag:^(?!(MediaPlayer|dalvikvm|Activity|LocSvc|SignalStrength|Wifi|StateMachine|Parcel|CellInfo|qcom_|GpsLocationProvider|wpa_|AlarmManager|Telephony|LocationManager|StatusBar|Vold|PhoneInterface|PhoneGlobals|QCNEJ|SensorManager|NotificationService|SensorService|ThermalEngine|NotificationEventsAdapter|Weather_cast|Notification|NavigationBar|EDL|LGDMClient|NiLS|Tethering|Netd|Gcore|Util|AudioManager|BML))

, .. BANG! !

+4

, . , . , , , ( doc ).

Log.v(TAG, "Important Logs");

TAG logcat.

+3
source

All Articles