WC_Logger::debug( string $message, array $context = array() )

Adds a debug level message.


Description Description

Detailed debug information.

See also See also


Top ↑

Parameters Parameters

$message

(Required) Message to log.

$context

(Optional) Log context.

Default value: array()


Top ↑

Source Source

File: includes/class-wc-logger.php

	public function debug( $message, $context = array() ) {
		$this->log( WC_Log_Levels::DEBUG, $message, $context );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.