logcatview

A tool library for displaying logcat in applications

License

License

GroupId

GroupId

com.itlgl.android
ArtifactId

ArtifactId

logcatview
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

aar
Description

Description

logcatview
A tool library for displaying logcat in applications
Project URL

Project URL

https://github.com/itlgl/LogcatView
Source Code Management

Source Code Management

https://github.com/itlgl/LogcatView

Download logcatview

How to add to project

<!-- https://jarcasting.com/artifacts/com.itlgl.android/logcatview/ -->
<dependency>
    <groupId>com.itlgl.android</groupId>
    <artifactId>logcatview</artifactId>
    <version>0.0.4</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.itlgl.android/logcatview/
implementation 'com.itlgl.android:logcatview:0.0.4'
// https://jarcasting.com/artifacts/com.itlgl.android/logcatview/
implementation ("com.itlgl.android:logcatview:0.0.4")
'com.itlgl.android:logcatview:aar:0.0.4'
<dependency org="com.itlgl.android" name="logcatview" rev="0.0.4">
  <artifact name="logcatview" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.itlgl.android', module='logcatview', version='0.0.4')
)
libraryDependencies += "com.itlgl.android" % "logcatview" % "0.0.4"
[com.itlgl.android/logcatview "0.0.4"]

Dependencies

compile (2)

Group / Artifact Type Version
androidx.appcompat » appcompat jar 1.2.0
com.google.android.material » material jar 1.2.1

Project Modules

There are no modules declared in this project.

LogcatView

License Api Level Maven Central

A tool library for displaying logcat in applications

Quick Setup

1. Include library

Edit your build.gradle file and add below dependency:

dependencies {
    implementation 'com.itlgl.android:logcatview:(latestVersion)'
}

2. Configure activity xml

Default:

<com.itlgl.android.logcatview.LogcatView
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

Filter specified tags:

<com.itlgl.android.logcatview.LogcatView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:filterTags="L System.out"/>

Custom logcat cmd,add -v time to ensure that the log color will not be confused:

<com.itlgl.android.logcatview.LogcatView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:customCmd="logcat System.out:V *:S -v time"/>

Versions

Version
0.0.4
0.0.3
0.0.2
0.0.1