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

  • Home
  • SEARCH
  • 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 6892765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:34:32+00:00 2026-05-27T06:34:32+00:00

Why and when should I use the android Logging? Should it be used only

  • 0

Why and when should I use the android Logging? Should it be used only for debugging purposes? It seems to me that if kept in a production application, it would slow it down considerably.

One key part of my question, is WHEN it should be used…in what cases should I need it? Are there any ‘best practices’ for using this?

This may be a very stupid or amateur question, but I’ve never understood the need or felt compelled to use it. I may be missing something.

http://developer.android.com/reference/android/util/Log.html

Also – I already know that logging for errors/verbose/info/etc are different, and some are discarded when not debugging. Please don’t reiterate the information that’s in the class overview without giving me an explanation why. Thanks!

  • 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-05-27T06:34:33+00:00Added an answer on May 27, 2026 at 6:34 am

    I agree with you, I never really used it either. I much prefer debugging over log reading (and unit-testing over debugging), when trying to figure out what’s happening and getting an error.

    Some people argue it can be useful to log “additional details” when your application crashes and get an exception, but I usually reply to them that the exception itself should hold that additional details when necessary, and expose them in its getMessage. Thus, the default stack trace that’s included in the LogCat is more than enough to see what’s going on.

    But anyway, it’s always nice to have the possibility to log something, even though I haven’t found it really useful so far, you never know when it might help 🙂

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

Sidebar

Related Questions

I want to create a custom logger for android application. The logging should be
I am trying to develop an android application that will use the same MySQL
Should I use 32-bit Eclipse or 64-bit Eclipse for Android development? Im on a
MSDN says that you should use structs when you need lightweight objects. Are there
Why sometimes I should use block and other times &block inside functions that accept
i want to use Android spinner with following data. Spinner will display only text
I want to use a custom font for my android application which I am
I would like to know what kind of data structure (queue) I should use
I plan to develop Android application which will encrypt/decrypt voice data such that parties
I use Android to make an application. I have an activity where I create

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.