graphql_debug_logs_enabled

apply_filters( 'graphql_debug_logs_enabled', $enabled, $this );

Filters whether GraphQL Debug is enabled enabled. Serves as the default state for enabling debug logs.

  • Type: filter
  • Group: Debugging and Instrumentation
  • Since: 0.0.5
  • Source File: plugins/wp-graphql/src/Utils/DebugLog.php

Parameters

  • $enabled (bool): Whether logs are enabled or not
  • $debug_log (\WPGraphQL\Utils\DebugLog): The DebugLog class instance

Source

apply_filters( 'graphql_debug_logs_enabled', $enabled, $this );