Where are logs created by drush_log() stored? I have installed Devel module to use xhprof. In devel settings, I have enabled xhprof, but when I load a page, can't see a link to xhprof. I read the source and found this:

drush_log('xhprof link: ' . devel_xhprof_link($devel_run_id, 'url'), 'notice');

Where is this log stored and how can I see it?
It's not. It's printed.

However, notices are by default not visible unless you increase the verbosity of drush using the -v option.

To display internal messages you'll need to enable debug option -d. This will display even more information.

Alternatively, you can change the message type parameter from 'notice' to 'ok' to print out to the console.

drush_log('xhprof link: ' . devel_xhprof_link($devel_run_id, 'url'), 'ok');