WC_Log_Handler_File::cache_log( string $entry, string $handle )

Cache log to write later.


Description Description


Parameters Parameters

$entry

(Required) Log entry text.

$handle

(Required) Log entry handle.


Top ↑

Source Source

File: includes/log-handlers/class-wc-log-handler-file.php

	protected function cache_log( $entry, $handle ) {
		$this->cached_logs[] = array(
			'entry'  => $entry,
			'handle' => $handle,
		);
	}


Top ↑

User Contributed Notes User Contributed Notes

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