Created
May 8, 2015 12:07
-
-
Save demofly/be6f43d441060fadb709 to your computer and use it in GitHub Desktop.
The simplest php debug logger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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