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.
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,
);
}