What do the various colors in LogCat signify?

冷暖自知 提交于 2019-11-28 01:11:32

问题


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


来源:https://stackoverflow.com/questions/8778850/what-do-the-various-colors-in-logcat-signify

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!