gfdt_per_entry_logging_capture_message
Description
Filter whether a log message should be captured for per-entry logging. Returning false keeps the message out of the buffer entirely, which is the cheapest way to narrow capture on a very busy site.
Usage
Applied globally
add_filter( 'gfdt_per_entry_logging_capture_message', 'my_custom_function' );Parameters
$should_capture
bool
Whether to capture the message.
$plugin
string
Plugin slug.
$message
string
The log message.
$message_type
int
KLogger message type.