WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

DeprecatedClassFacade::log_deprecation() private WC 1.0

Log a deprecation to the error log.

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

No Hooks.

Return

null. Nothing.

Usage

$result = DeprecatedClassFacade::log_deprecation( $function );
$function(string) (required)
The name of the deprecated function being called.

Code of DeprecatedClassFacade::log_deprecation() WC 5.3.0

<?php
private static function log_deprecation( $function ) {
	error_log( // phpcs:ignore
		sprintf(
			'%1$s is deprecated since version %2$s! Use %3$s instead.',
			static::class . '::' . $function,
			static::$deprecated_in_version,
			static::$facade_over_classname . '::' . $function
		)
	);
}