graphql_debug

graphql_debug( $message, $config = [] ): void;

Given a message and an optional config array

  • Since: 0.14.0
  • Source File: plugins/wp-graphql/access-functions.php

Parameters

  • $message (mixed|string|mixed[]): The debug message
  • $config (array<string,mixed>): The debug config. Should be an associative array of keys and values. $config[‘type’] will set the “type” of the log, default type is GRAPHQL_DEBUG. Other fields added to $config will be merged into the debug entry.

Source

function graphql_debug( $message, $config = [] ): void {