A simple php function to log information to a file. Mainly used for debugging/troubleshooting