JakeWharton/timber ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android logging library like Timber, with a tiny easy to use API that wraps the normal Android log system. I want to be able to plant different logger behaviors at app startup, then call simple logging methods anywhere in the app without wiring things up each time. It should include a debug logger that automatically uses the calling class name as the tag, plus a way to set custom tags when needed. Please also add built in lint checks that catch common logging mistakes, like using the wrong number or type of format arguments, tags that are too long, using Android Log directly instead of the library, doing string formatting or concatenation inside log calls, and logging exception messages the wrong way. If it helps, include a small sample app that shows how to install the logger and use it in real code. Look up the current docs online if you need to.
Are you gonna build this?
make sure you review the code using coderabbit