Adds log object to Markdown.php and outputs array