LoggerUtil – Simplified Logging for Android
An open-source logging utility for Android developers

Introduction
LoggerUtil is a lightweight and developer-friendly logging utility built with Kotlin for Android applications. It helps manage logs efficiently, making debugging smoother and more structured.
Features
Easy Integration – Plug and play; requires minimal setup.
Customizable Log Levels – Supports VERBOSE, DEBUG, INFO, WARNING, ERROR.
Tag-Based Logging – Assign custom tags for better filtering in Logcat.
Debug Mode Detection – Logs only in development mode, preventing unnecessary logs in production.
Lightweight & Fast – Optimized for performance, ensuring minimal overhead.
Example
class MainActivity : AppCompatActivity() {
private val TAG = "MainActivity"
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
// Log a debug message
logger(tag = TAG, message = "Activity created")
// Log an error message with a custom log type
logger(tag = TAG, message = "Some error occurred", type = LogType.ERROR)
}
}
Output

Crafted In
Let’s Improve Together
Your reactions guide development. Please share your thoughts on new features or recommendations. Unitedly we can improve to help all.