WordPress at a glance
function is not described

wc_register_default_log_handler() WC 3.0

Registers the default log handler.

No Hooks.

Return

Array.

Usage

wc_register_default_log_handler( $handlers );
$handlers(array) (required)
Handlers.

Changelog

Since 3.0 Introduced.

Code of wc register default log handler: woocommerce/includes/wc-core-functions.php WC 3.7.0

<?php
function wc_register_default_log_handler( $handlers ) {
	if ( defined( 'WC_LOG_HANDLER' ) && class_exists( WC_LOG_HANDLER ) ) {
		$handler_class   = WC_LOG_HANDLER;
		$default_handler = new $handler_class();
	} else {
		$default_handler = new WC_Log_Handler_File();
	}

	array_push( $handlers, $default_handler );

	return $handlers;
}