프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 bool $_enabled | ||
리턴 | boolean |
protected array $_threshold_array | ||
리턴 | array |