Свойство | Тип | Описание | |
---|---|---|---|
$_date_fmt | string | Format of timestamp for log files | |
$_enabled | boolean | Whether or not the logger can write to the log files | |
$_file_ext | string | Filename extension | |
$_file_permissions | integer | File permissions | |
$_levels | array | Predefined logging levels | |
$_log_path | string | Path to save log files | |
$_threshold | integer | Level of logging | |
$_threshold_array | array | Array of threshold levels to log |
Метод | Описание | |
---|---|---|
__construct ( ) : void | Class constructor | |
write_log ( string $level, string $msg ) : boolean | Write Log File |
Метод | Описание | |
---|---|---|
_format_line ( string $level, string $date, $message ) : string | Format the log line. |
protected string $_date_fmt | ||
Результат | string |
protected bool $_enabled | ||
Результат | boolean |
protected int $_file_permissions | ||
Результат | integer |
protected array $_threshold_array | ||
Результат | array |