Difference between log methods

前端 未结 4 1451
忘掉有多难
忘掉有多难 2021-01-03 01:14

I am new in android and i print log-cat using:

Log.w(\"Tag\", \"String text\");

and log text print but after searching for a time i find so

4条回答
  •  再見小時候
    2021-01-03 01:27

    int ASSERT Priority constant for the println method.
    int DEBUG Priority constant for the println method; use Log.d.
    int ERROR Priority constant for the println method; use Log.e.
    int INFO Priority constant for the println method; use Log.i.
    int VERBOSE Priority constant for the println method; use Log.v.
    int WARN Priority constant for the println method; use Log.w.
    

提交回复
热议问题