https://github.com/leonardoaramaki/gocat
A logcat viewer, package filtered, much like pidcat, but written in Go.
https://github.com/leonardoaramaki/gocat
android logcat
Last synced: 5 months ago
JSON representation
A logcat viewer, package filtered, much like pidcat, but written in Go.
- Host: GitHub
- URL: https://github.com/leonardoaramaki/gocat
- Owner: leonardoaramaki
- Created: 2021-11-19T18:25:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-21T19:51:49.000Z (over 4 years ago)
- Last Synced: 2024-06-20T17:53:24.772Z (about 2 years ago)
- Topics: android, logcat
- Language: Go
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gocat
A colored logcat, based on [pidcat](https://github.com/JakeWharton/pidcat), written in Go.
## Install
You can can download a prebuilt [binary](https://github.com/leonardoaramaki/gocat/releases) for Linux, Mac or FreeBSD, or if
you are a go developer:
```
▶ go install github.com/leonardoaramaki/gocat@latest
```
## Basic Usage
Filter log by package:
```
▶ gocat -p com.example.app.android
```
## Detailed Usage
The help message show all the possible flags, mostly the ones available on pidcat as well as a new one `-cp`.
The `-cp` flag displays the log in a way it's easier to copy from the terminal.
```
▶ gocat --help
Filter logcat by package name
Usage:
gocat -p [packageName]
Options:
-p, --package Set package name to filter by
-r, --raw Show messages only, no metadata
-t, --tag Filter messages with specified tag
-i, --ignore Ignore messages with specified tag
-e --emu Use first emulator (adb -e)
-d --dev Use first device (adb -d)
-cp Copy & paste friendly format
--current Filter by current application
Examples:
gocat -p com.example.app -i EGL_emulation -i System
gocat -p com.example.app -cp
```