opcodesio / log-viewer

Fast and beautiful Log Viewer for Laravel
https://log-viewer.opcodes.io
MIT License
3.38k stars 237 forks source link

Bug #338

Closed HUN-Sopheak closed 4 months ago

HUN-Sopheak commented 4 months ago

when data is null or empty string is not show you should be set default message " Null ".

RithPisey commented 4 months ago

Please help

arukompas commented 4 months ago

@HUN-Sopheak can you share the example log file and what it shows up in the frontend? Please provide as much as you can so I can replicate it.

HUN-Sopheak commented 4 months ago

I want to discuss an issue I encountered in the application's logging. I noticed that when there is an empty string or null value, it still stores the datetime in the storage/logs. Can you help me check this? https://prnt.sc/6buWv80Suqh- https://prnt.sc/bSY1nl4Z9wu3

arukompas commented 4 months ago

@HUN-Sopheak what is the expected result? If you log an empty value, it will be shown as empty in the log.

Log::debug(null);
Log::debug('');

will both show up empty because they are empty.

As for the second screenshot, you can click on the log entry to expand it and show the full message/context. array( is just the first line of the log. The rest can be shown by expanding it.

HUN-Sopheak commented 4 months ago

ok i got it thank you sir