EDD_Logging
EDD_Logging Class
Description Description
A general use class for logging events and errors.
Source Source
File: includes/class-edd-logging.php
Changelog Changelog
Version | Description |
---|---|
1.3.1 | Introduced. |
Methods Methods
- __construct — Set up the EDD Logging Class
- add — Create new log entry
- clear_log_file — Delete the log file or removes all contents in the log file if we cannot delete it
- delete_logs — Delete a log
- get_connected_logs — Retrieve all connected logs
- get_file — Retrieve the file data is written to
- get_file_contents — Retrieve the log data
- get_log_count — Retrieves number of log entries connected to particular object ID
- get_log_file_path — Return the location of the log file that EDD_Logging will use.
- get_logs — Easily retrieves log items for a particular object ID
- insert_log — Stores a log entry
- log_to_file — Log message to file
- log_types — Log types
- register_post_type — Registers the edd_log Post Type
- register_taxonomy — Registers the Type Taxonomy
- setup_log_file — Sets up the log file if it is writable
- update_log — Update and existing log item
- valid_type — Check if a log type is valid
- write_to_log — Write the log message