skip to Main Content

I like the new Logcat since AS Dolphin. The filter adds some new possibilities, but I can’t figure out one thing: is there a way to show the debug messages only without having info or warning as well?

3

Answers


  1. You can type level:levelYouWant for example level:info for info logs only

    level:[VERBOSE | INFO | ASSERT | DEBUG | WARN | ERROR]

    Login or Signup to reply.
  2. This is NOT totally correct answer
    But you can write only first letter + colon character

    Like D: will just show Debug logs


    V: Verbose
    D: Debug
    I: Info
    W: Warning
    E: Error
    F: Fatal
    S: Silent 
    
    Login or Signup to reply.
  3. You can press ctrl + space to show filter list

    like below

    android-studio logcat filter bar

    So you can select minimum level, like:

     level:error
    

    or exclude some like

     level:info -message:foobar
    

    thats mean: all logs who >= info AND msg not contains "foobar"

     level:warn (message:ssl | -message:beta)
    

    mean all logs who >= warn AND msg contains "ssl" OR msg not contains "beta"

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search