function dlm

6.x drush.inc dlm($object)
5.x drush.inc dlm($object)
3.x drush.inc dlm($object)
4.x drush.inc dlm($object)

Run print_r on a variable and log the output.

Related topics

File

includes/drush.inc, line 1549
The drush API implementation and helpers.

Code

function dlm($object) {
  drush_log(print_r($object, TRUE));
}