WordPress at Your Fingertips
function is not described

WC_Logger::info() public WC 1.0

Adds a info level message.

Interesting events. Example: User logs in, SQL logs.

{} It's a method of the class: WC_Logger{}

No Hooks.

Return

null. Nothing.

Usage

$WC_Logger = new WC_Logger();
$WC_Logger->info( $message, $context );
$message(string) (required)
Message to log.
$context(array)
Log context.
Default: array()

Notes

Code of WC_Logger::info() WC 5.9.0

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