Custom PHP Logger with built in rotation functionality
Instructions
- Require file or place snippet in an included functions file
- Specify a path to log directory in custom_logger() function
- Use custom_logger($data) to log the data passed via $data
- Forget this file exists!