Свойство | Type | Description | |
---|---|---|---|
$_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 |
Méthode | Description | |
---|---|---|
__construct ( ) : void | Class constructor | |
write_log ( string $level, string $msg ) : boolean | Write Log File |
Méthode | Description | |
---|---|---|
_format_line ( string $level, string $date, $message ) : string | Format the log line. |
protected string $_date_fmt | ||
Résultat | string |
protected bool $_enabled | ||
Résultat | boolean |
protected int $_file_permissions | ||
Résultat | integer |
protected array $_threshold_array | ||
Résultat | array |