Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do the various colors in LogCat signify?

I Googled this and could not found a chart. Since the various Log possibilities are Verbose, Debug, Information, Warning,and Error, I have a couple of assumptions, but...:

Verbose = ? Debug = ? Information = ? Warning = Yellow? Error= Red?

like image 205
B. Clay Shannon-B. Crow Raven Avatar asked Jan 08 '12 15:01

B. Clay Shannon-B. Crow Raven


People also ask

How do you read Logcat?

The Logcat window in Android Studio displays system messages, such as when a garbage collection occurs, and messages that you added to your app with the Log class. It displays messages in real time and keeps a history so you can view older messages.

How do I change the color of Logcat?

In your preferences, either search for “logcat” or manually go to Editor > Color Scheme > Android Logcat.

What does Logcat mean?

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.

Where are Logcat logs stored?

The Android logging system provides a mechanism for collecting and viewing system debug output, which then can be viewed and filtered by the logcat command. ADB will start collecting logs and start writing them to a text file. Navigate to c:/adb/on your file explorer. The file "txt" will now contain the logs.


2 Answers

The filter buttons on the LogCat pane in Eclipse are colour-coded to match the colour of the messages, so:

Verbose - black

Debug - blue

Info - green

Warning - orange

Error - red

Edit: a picture reference:

enter image description here

picture from http://www.droidnova.com/blog/wp-content/uploads/2009/09/debugging-2.gif

like image 199
epochengine Avatar answered Sep 30 '22 19:09

epochengine


enter image description here

The letter colors in above diagram are the colors in which log appears

like image 41
nandeesh Avatar answered Sep 30 '22 17:09

nandeesh