What do the various colors in LogCat signify?

2019-01-25 17:15发布

问题:

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?

回答1:

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



回答2:

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:

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



回答3:

  • Error = Red
  • Warn = Yellow
  • Info = Green
  • Debug = Blue (I think)
  • Verbose = No color