0144-filters-graphql-debug-log
title: graphql_debug_log hookType: filter hookGroup: debugging plugin: wp-graphql
graphql_debug_log
apply_filters( 'graphql_debug_log', array_values( $this->logs ), $this );
Return the filtered debug log
- Type: filter
- Group: Debugging and Instrumentation
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Utils/DebugLog.php
Parameters
$logs(array<string,mixed>[]): The logs to be output with the request$instance(\WPGraphQL\Utils\DebugLog): The Debug Log class
Source
apply_filters( 'graphql_debug_log', array_values( $this->logs ), $this );
Related
DebugLog::get_logs()inplugins/wp-graphql/src/Utils/DebugLog.php:149
这篇文档对你有帮助吗?
谢谢你的反馈!