Analysis updated 2026-07-10 · repo last pushed 2022-01-05
Add @DebugLog to any method and see its arguments, return value, and execution time in the logcat during debugging.
Keep debug annotations in source code permanently since the Gradle plugin strips them from release builds with zero performance impact.
Toggle logging on or off at runtime or via build settings without removing annotations from your code.
| jakewharton/hugo | krahets/leetcode-book | yuanguangxin/leetcode | |
|---|---|---|---|
| Stars | 7,889 | 8,289 | 7,489 |
| Language | Java | Java | Java |
| Last pushed | 2022-01-05 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an Android project with the Gradle build system, simply add the plugin and annotate methods.
Hugo is a tool for Android developers that automatically logs method calls during debugging. Instead of manually writing log statements to print out what arguments a method received, what it returned, and how long it took to run, you just add a small @DebugLog tag above the method. Hugo handles the rest. When your app runs in debug mode, any method marked with that tag will automatically print its inputs, outputs, and execution time to the log. The beauty is that this only happens in debug builds, when you ship a release version to users, the logging disappears entirely and the annotation leaves no trace in the compiled code. You can safely leave the tags in your source code without worrying about performance or leaking debug info in production. This is for Android developers who spend time debugging and want to cut down on the repetitive boilerplate of writing and removing log statements. If you've ever found yourself adding a print statement to check what value a method received, then deleting it before shipping, Hugo eliminates that cycle. You can also toggle the logging off temporarily through a build setting or flip it on and off while the app is running. The project is notably built as a Gradle plugin, which means it hooks into the standard Android build process to strip out the logging code at compile time for release builds. This approach is what makes it safe to keep the annotations in your codebase permanently, the build system guarantees they have zero impact on production.
Hugo is an Android debugging tool that automatically logs method inputs, outputs, and execution time when you add a @DebugLog annotation, then strips all logging code from release builds so it has zero production impact.
Mainly Java. The stack also includes Java, Gradle, Android.
Dormant — no commits in 2+ years (last push 2022-01-05).
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.