• Resolved Rob

    (@qupodogbark)


    We would like to use this plugin to give our client visibility into certain PHP errors; however, we don’t want all errors in the log file to be shown on the widget.

    Is there any programmatic way, perhaps a filter we could hook into, to filter the log file results that appear in the widget?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Janis Elsts

    (@whiteshadow)

    There is no WP filter, but there are a couple of ways to hide certain errors:

    • You can use the “Ignore” link to hide specific errors. This will hide all copies of the error, including any future errors that have exactly the same message and file name + line number.
    • In the widget configuration, you can use the settings in the “Filters” section to filter log entries based on severity. For example, you could hide all notices and warnings but leave fatal errors visible.
    Thread Starter Rob

    (@qupodogbark)

    Ok, great. Thank you for the quick reply!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter Errors that Show in Widget’ is closed to new replies.