Libraries' @DebugLog doesn't work
See original GitHub issueMy project has a number of modules apart from the actual app. Today I’ve tried to use Hugo on one of the ‘android-library’ modules, and nothing is logged when the app module runs.
Project modules:
app (has compile project(':mylibrary'))
mylibrary (has apply plugin: 'hugo')
Already tried to also apply plugin: 'hugo' on the app module, with no luck.
Issue Analytics
- State:
- Created 9 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debug.WriteLine from Logging Assembly in Release Mode ...
The problem is that when the application using the logging library calls DebugLogger.PerformLogging("some debug message") nothing shows up in the Visual Studio ...
Read more >problems with library scanning, request more info in debug ...
I've got loads of movies with nfo files which I'm trying to move into Emby. it mostly works but I have an issue...
Read more >Tip: Easier debug log toggling - Libraries - Arduino Forum
Hi. This doesn't work for me with ESP8266. It looks like the compiler has problem with replacing the object. Instead I used these...
Read more >Debug and troubleshoot WebGL builds - Unity - Manual
Debug and troubleshoot WebGL builds. Visual Studio doesn't support debugging Unity WebGLA JavaScript API that renders 2D and 3D graphics in ...
Read more >Enabling core debug logs | Node Cookbook - Third Edition
This should give output similar to the following screenshot: How it works... The NODE_DEBUG environment variable can be set to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Just for clarifying. It can be done by adding
in module’s build.gradle and the
in the application’s build.gradle.
This is a Gradle and Android plugin problem, not this library.
More info at http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication with configuration to publish the debug variant which could be enabled with a -Dflag from the CLI as a temporary workaround.