PATH:
home
/
lab2454c
/
isaaclondston.com
/
wp-content
/
plugins
/
woocommerce
/
includes
/
abstracts
<?php /** * Log handling functionality. * * @class WC_Log_Handler * @package WooCommerce\Abstracts */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Abstract WC Log Handler Class * * @version 1.0.0 * @package WooCommerce\Abstracts */ abstract class WC_Log_Handler implements WC_Log_Handler_Interface { /** * Formats a timestamp for use in log messages. * * @param int $timestamp Log timestamp. * @return string Formatted time for use in log entry. */ protected static function format_time( $timestamp ) { return date( 'c', $timestamp ); } /** * Builds a log entry text from level, timestamp and message. * * @param int $timestamp Log timestamp. * @param string $level emergency|alert|critical|error|warning|notice|info|debug. * @param string $message Log message. * @param array $context Additional information for log handlers. * * @return string Formatted log entry. */ protected static function format_entry( $timestamp, $level, $message, $context ) { $time_string = self::format_time( $timestamp ); $level_string = strtoupper( $level ); $entry = "{$time_string} {$level_string} {$message}"; return apply_filters( 'woocommerce_format_log_entry', $entry, array( 'timestamp' => $timestamp, 'level' => $level, 'message' => $message, 'context' => $context, ) ); } }
[-] abstract-wc-shipping-method.php
[edit]
[-] abstract-wc-settings-api.php
[edit]
[-] abstract-wc-widget.php
[edit]
[-] abstract-wc-session.php
[edit]
[+]
..
[-] abstract-wc-product.php
[edit]
[-] abstract-wc-deprecated-hooks.php
[edit]
[-] abstract-wc-log-handler.php
[edit]
[-] abstract-wc-data.php
[edit]
[-] abstract-wc-privacy.php
[edit]
[-] abstract-wc-payment-gateway.php
[edit]
[-] abstract-wc-object-query.php
[edit]
[-] abstract-wc-order.php
[edit]
[-] abstract-wc-payment-token.php
[edit]
[-] class-wc-background-process.php
[edit]
[-] abstract-wc-integration.php
[edit]