This PR adds a PHP script to reverse Laravel log entries while preserving the original format, including timestamps and structure. The log entries are now displayed in descending order, with the most recent logs appearing first. This enhancement improves log readability, especially for troubleshooting recent issues.
Key Changes:
Utilizes preg_split() to split log entries based on their timestamp.
Reverses the order of log entries using array_reverse().
Ensures that log format and timestamps are preserved.
This PR adds a PHP script to reverse Laravel log entries while preserving the original format, including timestamps and structure. The log entries are now displayed in descending order, with the most recent logs appearing first. This enhancement improves log readability, especially for troubleshooting recent issues.
Key Changes:
Utilizes preg_split() to split log entries based on their timestamp.
Reverses the order of log entries using array_reverse().
Ensures that log format and timestamps are preserved.