Log display format
-
Hi,
how do I log my information so it’s displayed like below on the dashboard?
Updated option “_transient_timeout_settings_errors”
New value 1558970145
Old value 1558970144
Settings page generalMy logs just show one line that opens the more detailed view, but the format above is better.
I checked the classes for the two rows and this one contains
SimpleHistoryLogitem SimpleHistoryLogitem–loglevel-info SimpleHistoryLogitem–logger-SimpleOptionsLogger SimpleHistoryLogitem–initiator-wp_user
So it seems the format I want is related to ‘SimpleOptionsLogger’.
The one I currently have contains these classes related to ‘SimpleLogger’:
SimpleHistoryLogitem SimpleHistoryLogitem–loglevel-info SimpleHistoryLogitem–logger-SimpleLogger SimpleHistoryLogitem–initiator-wp_user
So it seems to be a distinction between ‘SimpleOptionsLogger’ and ‘SimpleLogger’. It seems I want to log it as ‘SimpleOptionsLogger. How do I do that?
Thanks.
- The topic ‘Log display format’ is closed to new replies.