Um, write your own logger?

You could have a setting for outputting to logcat vs. a file, have separate
on/off switches for different subsystems, and (in case of file output) use
it as a remote diagnostic tool.

I am doing this for my current project, and it's working very well. In case
of a crash, my app always leaves a separate log file, and the users at this
point already know to send it to me if needed.

-- Kostya

2011/6/3 Brill Pappin <[email protected]>

> I want to be able to control the log level of the Log class inside my app.
>
> Reading:
> http://developer.android.com/reference/android/util/Log.html#isLoggable(java.lang.String,
> int)
>
> I see that its possible, but the local.prop file is in a very inconvenient
> place (need root access to change it).
>
> Is there anywhere in the app itself that a file like that can reside to
> control logging?
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to