Created
June 8, 2023 15:38
-
-
Save kraken-chris/724fbf462f716badcec09894b8e00f4e to your computer and use it in GitHub Desktop.
Debugging one-liner: Output some data to a file
This file contains 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
file_put_contents(BP.'/var/log/logfilename.log', "\nLog info: $variable\n", FILE_APPEND); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment