• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / Files / includes/class-edd-logging.php


Lines:

1 to 44 of 44
<?php

/**
 * Class for logging events and errors
 *
 * @package     EDD
 * @subpackage  Logging
 * @copyright   Copyright (c) 2015, Pippin Williamson
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since       1.3.1
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;

/* class EDD_Logging */
/* function EDD_Logging::__construct() – Set up the EDD Logging Class */
/* function EDD_Logging::setup_log_file() – Sets up the log file if it is writable */
/* function EDD_Logging::register_post_type() – Registers the edd_log Post Type */
/* function EDD_Logging::register_taxonomy() – Registers the Type Taxonomy */
/* function EDD_Logging::log_types() – Log types */
/* function EDD_Logging::valid_type() – Check if a log type is valid */
/* function EDD_Logging::add() – Create new log entry */
/* function EDD_Logging::get_logs() – Easily retrieves log items for a particular object ID */
/* function EDD_Logging::insert_log() – Stores a log entry */
/* function EDD_Logging::update_log() – Update and existing log item */
/* function EDD_Logging::get_connected_logs() – Retrieve all connected logs */
/* function EDD_Logging::get_log_count() – Retrieves number of log entries connected to particular object ID */
/* function EDD_Logging::delete_logs() – Delete a log */
/* function EDD_Logging::get_file_contents() – Retrieve the log data */
/* function EDD_Logging::log_to_file() – Log message to file */
/* function EDD_Logging::get_file() – Retrieve the file data is written to */
/* function EDD_Logging::write_to_log() – Write the log message */
/* function EDD_Logging::clear_log_file() – Delete the log file or removes all contents in the log file if we cannot delete it */
/* function EDD_Logging::get_log_file_path() – Return the location of the log file that EDD_Logging will use. */

// Initiate the logging system
$GLOBALS['edd_logs'] = new EDD_Logging();

/* function edd_record_log() – Record a log entry */


/* function edd_debug_log() – Logs a message to the debug log file */
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      File name: includes/class-edd-logging.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,E,I,L,P

      Published: 26th November 2019 | Last updated: 26th November 2019

      Primary Sidebar

      Information

      File name: includes/class-edd-logging.php
      Plugin ref: Easy Digital Downloads
      Version: 2.9.23
      Deprecated?: No
      API Letters: C,E,I,L,P

      includes

      Footer

      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      Easy Digital Downloads a2z
      WordPress 5.6
      WordPress a2z
      WordPress core a2z
      Genesis Theme Framework a2z
      Jetpack a2z
      WordPress develop tests
      Easy Digital Downloads a2z
      WooCommerce a2z
      Yoast SEO a2z
      WordPress Blocks

      Site:  edd.wp-a2z.org
      © Copyright Easy Digital Downloads a2z 2014-2021. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins

      • Home
      • Blog
      • Sitemap
      • Sites