Question
I'm using dlog_print() to debug my Tizen native application with a custom tag, but I can't see the logs in the "Log" view of Tizen Studio 1.2.
I can find these logs when using the sdb dlog command directly in the console, but they don't appear in the "Log" view.
When searching for my logs by message, I found them with different info levels and tags. For example, a message with my custom tag appears with Debug level and tag "AUL", while the same message also appears with Info level and tag "PULSEAUDIO".
Answer
Problem Understanding
The user is experiencing an issue where debug logs created with dlog_print() are not visible in Tizen Studio's "Log" view, despite being accessible through the sdb dlog command. The logs appear to be assigned incorrect tags and levels when viewed in the console.
Solution Methods
-
Search by Tag in Log View:
- Select "Search by Tag" from the dropdown next to the search box
- Enter your custom tag (e.g., "MyTag")
- Ensure the correct log level is selected (e.g., 'I' for Info if using
DLOG_INFO)
-
Verify Tizen Version Compatibility:
- This issue appears specific to Tizen Studio 1.2
- Consider testing with Tizen IDE 2.4 or later versions where this functionality works correctly
-
Install Mobile 2.4 Package:
- Download the Mobile 2.4 package from Package Manager
- Test your application with a Mobile 2.4 emulator
- This may resolve logging issues even for Mobile 3.0 applications
Code Examples
dlog_print(DLOG_INFO, "MyTag", "Your debug message here");
Additional Tips
- Double-check your tag spelling when searching in the Log view
- Try different log levels (Debug, Info, Warning, Error) when searching
- If issues persist, consider using
sdb dlogas a temporary workaround - Keep your Tizen Studio updated to the latest version for best compatibility