Skip to content

Instantly share code, notes, and snippets.

@demofly
Created May 8, 2015 12:07
Show Gist options
  • Save demofly/be6f43d441060fadb709 to your computer and use it in GitHub Desktop.
Save demofly/be6f43d441060fadb709 to your computer and use it in GitHub Desktop.
The simplest php debug logger
<?php
file_put_contents( "/tmp/php-debug.log", strtotime("now")." $message\n", FILE_APPEND);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment