On 4 June 2011 01:29, Brill Pappin <[email protected]> wrote: > It doesn't strike you as odd that the perfectly good logging class in > Android requires you to invent your own implementation?
Log class is not "perfectly good" at all. It's just plain generic - all it does it puts provided string into logfile. That's mostly it. And that suffices as whatever else logic you may need, you can easily build on top of it yourself - my logging class (built on top of Log of course) automatically logs where it was called, what class, method, type of call, in which file and line etc. but that's because I think I need such detailed logging. Others may be happy with Log.i(TAG, "Ok"); If my logic would be there by default then it would fit a need of smaller percentage of users increasing overall complexity etc, provide some perfomance penalty etc. And OS should rather provide bricks, not prefabricated walls, especially in some low level areas like debugging or logging. Regards, Marcin Orlowski *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy... *Date In Tray* <http://bit.ly/dateintraypro> - current date at glance... WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and *Twitter<http://webnetmobile.com/twitter/> * -- 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

