Свойство | Тип | Описание | |
---|---|---|---|
$VERSION | |||
$epoch | |||
$host | used for testing only atm. | ||
$id | |||
$key | |||
$log_dir | |||
$logs | |||
$query_line | |||
$to_stderr | |||
$use_cron |
Метод | Описание | |
---|---|---|
alias ( $name, $alias_to ) | ||
array_get ( $array, $key, $default = null, $treat_empty_as_not_set = false ) | ||
error_handler ( $errno, $errstr, $errfile, $errline ) | ||
identify ( $id ) | ||
init ( $key, $options = [] ) | ||
record ( $action, $props = [] ) | ||
send_logged_queries ( ) | ||
set ( $array ) |
Метод | Описание | |
---|---|---|
epoch ( ) | ||
generate_query ( $type, $data, $update = true ) | ||
is_identified ( ) | ||
is_initialized ( ) | ||
is_initialized_and_identified ( ) | ||
is_log_dir_writable ( ) | #### PROTECTED ############################################################# | |
log ( $type, $msg ) | ||
log_error ( $msg ) | ||
log_name ( $type ) | ||
log_query ( $msg ) | ||
log_send ( $msg ) | ||
reset ( ) | ||
send_query ( $query ) |
static public array_get ( $array, $key, $default = null, $treat_empty_as_not_set = false ) |
static public error_handler ( $errno, $errstr, $errfile, $errline ) |
protected static generate_query ( $type, $data, $update = true ) |
protected static is_initialized_and_identified ( ) |
protected static is_log_dir_writable ( ) |