Custom logging mechanism for dumping out variables from anywhere within the drupal php code base.
dblog(param1, param2, param3...) Creates log file at the web root level of the drupal install.
There is an admin form for modifying the name of the logging file and the max size of any argument passed in to be logged.