norcross / debug-quick-look

Adds a link to view or purge the debug.log file in WordPress
MIT License
28 stars 10 forks source link

Reverse the order of the output by default (newest at top) #7

Closed jtsternberg closed 4 years ago

jtsternberg commented 7 years ago

Change the default log order to put newest entries at top. Filter the default order, and allow overriding with an "order" query var.

norcross commented 7 years ago

I had it backwards because depending on how big the log file is, it can truncate the last one on the file. did you test for that?

jtsternberg commented 7 years ago

I'm not sure I super understand what you mean, BUT, the log file I was testing with was definitely truncated, as it was way too big to be showing the whole thing.

norcross commented 7 years ago

I'll try to find some of the examples I had

jtsternberg commented 7 years ago

K, let me know and I can test.