Title: Log display format
Last modified: May 30, 2019

---

# Log display format

 *  [wbcorus](https://wordpress.org/support/users/wbcorus/)
 * (@wbcorus)
 * [7 years ago](https://wordpress.org/support/topic/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 general
 * My 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.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/log-display-format/#post-11728681)
 * Is this when you log things yourself using the Simple History API? Could you 
   post an example on what you are logging so I can understand want you want better?
 *  Thread Starter [wbcorus](https://wordpress.org/support/users/wbcorus/)
 * (@wbcorus)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/log-display-format/#post-11732979)
 * Yes, that’s when I use the API.
 * I am using this logging method:
 *  SimpleLogger()->info(
    ‘option “‘ . $option_name . ‘” was edited by ‘ . $logged_in_user-
   >user_login .’.’, array( ‘option name’ => $option_name, ‘old value’ => $old_value,‘
   new value’ => $new_value, ) );

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Log display format’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [wbcorus](https://wordpress.org/support/users/wbcorus/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/log-display-format/#post-11732979)
 * Status: not resolved