Android Logcat is very useful for Android developers, which provides a mechanism for collecting and viewing system debug output. By logcat, logs from various applications and portions of the android system are collected in a series of circular buffers, which then can be viewed and filtered. Here is five Android Logcat Related Open Source Apps.
1. Android-logger: Android logcat viewer
Android-logger is a way for you to view the logcat output on your phone. Each type of log message is displayed with a different color. You also have the ability to filter the output to only show you debug, info, warn, error and verbose. You can switch back to seeing all messages by selecting the filter menu option and choosing All from the list. Below are a few screenshots of the application, it is available under the GPLv2 and available to the right, in the Downloads section and in the Android Market.
Project Home: http://code.google.com/p/android-logger/
For more details about android-logger, you can find by the previous post in Cute Android: android-logger
2. aLogcat: Android Log Viewer (logcat) Application
aLogcat is the well-known developer tool logcat, in the form of an Android application.
Project Home: http://code.google.com/p/alogcat/
3. Android-log-collector: Collects the log and sends to a developer
Collects output of logcat and sends it to a developer using email or messaging. Can be used as a standalone application or invoked through the intent API by another application. Usage example is provided for developers who would like to integrate with the Log Collector through the intent API.
Project Home: http://code.google.com/p/android-log-collector/
4. LogcatActivity in android-random
LogcatActivity is a sub-project of android-random, which is a predecesor to RemoteLogcat, allowing you to view the Logcat output on the handset, and optionally save a limited history to a file on the device.
Android-random is a collection of extended examples for Android developers.
Project Home: http://code.google.com/p/android-random/
5. Android-logcat-reader: An app for Android phones to view Logcat
Based on LogcatActivity in android-random, this application adds a few extra, essential changes.
The main difference is this project has support for filtering and writes the log to an accessible location for non-rooted phone users.
Project Home: http://code.google.com/p/android-logcat-reader/
Posted by Cute Android
If you want Logcat running on the emulator or the Android phone, Android logcat viewer android-logger is a good choice!
Logger is a way for you to view the logcat output on your phone. Each type of log message is displayed with a different color. You also have the ability to filter the output to only show you debug, info, warn, error and verbose. You can switch back to seeing all messages by selecting the filter menu option and choosing All from the list. Below are a few screenshots of the application, it is available under the GPLv2 and available to the right, in the Downloads section and in the Android Market.
You can download the latest package on the download section at android-logger project home.
Check Out Source Code
The source for this project is hosted on github.com due to Google Code’s current lack of git support. The link to the repository is below.
Logger Git Repository
As Android developer, Locat is a useful tool for debugging, and you can use it through Eclipse or by “logcat” command in the “adb shell”. The usage of logcat is:
logcat [options] [filterspecs]
-s Set default filter to silent.
Like specifying filterspec ‘*:s’
-f <filename> Log to file. Default to stdout
-r [<kbytes>] Rotate log every kbytes. (16 if unspecified). Requires -f
-n <count> Sets max number of rotated logs to , default 4
-v <format> Sets the log print format, where
is one of:
brief process tag thread raw time threadtime long
-c clear (flush) the entire log and exit
-d dump the log and then exit (don’t block)
-g get the size of the log’s ring buffer and exit
-b <buffer> request alternate ring buffer
(‘main’ (default), ‘radio’, ‘events’)
-B output the log in binary
filterspecs are a series of
where <tag> is a log component tag (or * for all) and priority is:
S Silent (supress all output)
‘*’ means ‘*:d’ and <tag> by itself means <tag>:v
If not specified on the commandline, filterspec is set from ANDROID_LOG_TAGS.
If no filterspec is found, filter defaults to ‘*:I’
If not specified with -v, format is set from ANDROID_PRINTF_LOG
or defaults to “brief”