Every component has a files called log.h (or something simular) to control the logging of LOGPRINTF, WARNPRINTF and ERRORPRINTF. Default only WARN and ERROR are enabled. The output (default) goes to stderr.
To see the output on the emulator, you can press Ctrl-Alt-3. Pressing Ctrl-Alt-1 brings you back to the UI again.