I would like to log in android (mostly for debug purposes) with the method name being automatically detected as I am used to in log4j in other java apps.
However I heard that setting up log4j might be not that easy in android enviroment.
Also logcat is a bit different then just normal console and maybe I would like to use the 'tag' column for method name.
I know I can get StackTraceElement
to find out info about the method and line and also use it to write my custom logger or extend the functionality of android Log
utility. However this is not a way I want to go and I would like to know if there is sensible way to have nice & effective custom logging in android without too much hassle (as I encountered with log4j and the right one log4j.properties file).