Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7731651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T06:32:10+00:00 2026-06-01T06:32:10+00:00

I am new in android and i print log-cat using: Log.w(Tag, String text); and

  • 0

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 some more way to print logcat like:

Log.v() 
Log.d()

and now i am confuse in these methods.

Which is the best method for print log-cat and how may method for print lagcat and also what is the main difference between them?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T06:32:11+00:00Added an answer on June 1, 2026 at 6:32 am

    commonly used Log methods are five :

    Log.v () VERBOSE

    Log.d () DEBUG

    Log.i () INFO

    Log.w () WARN

    Log.e () ERROR

    1: Log.v – debugging color black , and any messages will be output, where v represents the verbose verbose mean, usually is Log.v (“”, “”);

    2: Log.d – the output color is blue , the only output debug debugging meaning, but he would output the upper filter up through of DDMS Logcat label to select.

    3: Log.i – output color is green , general tips, news information, it does not the output Log.v Log.d information, but will display the information of i, w and e

    4: Log.w – mean orange , can be seen as a warning The warning, in general we need to optimize the Android code, and will output it after Log.e.

    5: Log.e – is red , you can think of error error here only to show the red error message, these errors we need careful analysis.

    For more information:

    http://developer.android.com/guide/developing/debugging/debugging-log.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that can print some logs into android log system, it
i am creating a new android application.i am using the table layout. I have
I just installed the new Android SDK and the ADT 17. After the Installation
I'm new to using logcat and debugging in Android. I've analyzing someone else's code
The new Android 2.1 SDK (version 7) has a new class called SignalStrength: http://developer.android.com/reference/android/telephony/SignalStrength.html
I am relatively a new Android developer and I am not able to understand
I am a new android app developer and i want to use google map
I am new android app developer i want make app for tablets and phone
When I start a new Android project in Eclipse (Helios), the strings.xml has 2
I am wondering as a new Android developer (10+ years C# OOP) which would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.