Created
December 16, 2015 03:56
-
-
Save hayleyxyz/b8c2a1d63d00dde393b3 to your computer and use it in GitHub Desktop.
adb logcat example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: logcat [options] [filterspecs] | |
# (adb logcat or run logcat from shell inside Android) | |
# filterspecs are a series of | |
# <tag>[:priority] | |
# | |
# where <tag> is a log component tag (or * for all) and priority is: | |
# V Verbose | |
# D Debug | |
# I Info | |
# W Warn | |
# E Error | |
# F Fatal | |
# S Silent (supress all output) | |
# | |
# Priorities: http://developer.android.com/tools/debugging/debugging-log.html#filteringOutput | |
# | |
# Examples | |
# Show all errors | |
./adb logcat *:e | |
# Show warn messages with the tag "OpenGLRenderer" | |
# Example output: | |
# W/OpenGLRenderer( 7381): Incorrectly called buildLayer on View: FrameLayout, destroying layer... | |
# W/OpenGLRenderer( 7381): Incorrectly called buildLayer on View: FrameLayout, destroying layer... | |
# | |
./adb logcat OpenGLRenderer:w *:S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment