You are more than welcome to use http://www.slf4j.org/android/ in your own projects.
You are more than welcome to work with the SLF4J and slf4j-android projects to have them contribute patches to the OS to add SLF4J support. Discussion of that does not belong on this list, but on a list pertaining to the firmware: http://source.android.com/community/index.html On Thu, Feb 3, 2011 at 8:58 AM, mkh <[email protected]> wrote: > I am trying to understand why the  logging API in Android was not made > independent of the platform. SLF4J has a clean separation between the > logging API, and a pluggable logging implementation. In this scheme, > the Android platform would just provide the logging implementation > specific for the platform, but all of the logging statements sprinkled > throughout the code would just be generic SLF4J and thus not platform > specific. Given that logging tends to pervade the entire codebase, it > seems this separation is critical for allowing Java libraries to > function in applets, web applications, and mobile applications. > > It is unfortunate that Sun did a poor job with the official JDK > logging scheme, which lead to it not being universally adopted, but > now it seems that Android has made the Java logging nightmare that > much more unpleasant. Logging should really be part of the language > specification rather than a library addon. > > There is already SLF4J for android with the logging implementation > just delegating to the android logger, and so my question is, why is > there not a best practice directive to use SLF4J logging, or better > still, official adoption? > > It seems so obvious, I fear I must be ignorant of good arguments > against this... > > Thanks for any insight! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in London: http://bit.ly/smand1 and http://bit.ly/smand2 -- 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

