c_ws_plugin__s2member_utils_logs
public class c_ws_plugin__s2member_utils_logs
3.5
( 1 Field ) Field Summary | |
---|---|
public static array Array of log file descriptions. | Array of log file descriptions. |
( 4 Methods ) Method Summary | |
---|---|
public static bool | archive_oversize_log_files(bool $stagger) Archives logs to prevent HUGE files from building up over time. |
public static bool | cleanup_expired_s2m_transients(bool $stagger) Removes expired Transients inserted into the database by s2Member. |
public static string | conceal_private_info(string $log_entry) Attempts to conceal private details in log entries. |
public static null | http_api_debug(mixed $response, mixed $state, mixed $class, mixed $args, mixed $url) Logs HTTP communication (if enabled). |
public static array Array of log file descriptions. $log_file_descriptions = array(...)
Array of log file descriptions.
120214
public static bool archive_oversize_log_files(bool $stagger)
Archives logs to prevent HUGE files from building up over time.
This routine is staggered to conserve resources. This is called by all logging routines for s2Member.
3.5
bool $stagger - Optional. Defaults to true. If false, the routine will run, regardless.
bool - Always returns true.
public static bool cleanup_expired_s2m_transients(bool $stagger)
Removes expired Transients inserted into the database by s2Member.
This routine is staggered to conserve resources. Only 5 Transients are deleted each time.
This is called by s2Member's Auto-EOT System, every 10 minutes.
3.5
bool $stagger - Optional. Defaults to true. If false, the routine will run, regardless.
bool - Always returns true.
public static string conceal_private_info(string $log_entry)
Attempts to conceal private details in log entries.
130315
string $log_entry - The log entry we need to conceal private details in.
string - Filtered string with some data X'd out :-)
public static null http_api_debug(mixed $response, mixed $state, mixed $class, mixed $args, mixed $url)
Logs HTTP communication (if enabled).
120212
null - Nothing.
Log utilities.