Свойство | Тип | Описание | |
---|---|---|---|
$basePath | |||
$logFile |
Метод | Описание | |
---|---|---|
__construct ( string $logFile, string | null $basePath = null ) | ||
content ( ) : string | Return the content of the log file. | |
exists ( ) : boolean | Does the log file exist? | |
getLogFilePath ( ) : string | null | Return log file path, assuming it exists. Returns NULL if nothing found. | |
getRawFilePath ( ) : string | Return the un-sanitised log path. | |
getSanitisedLogFilePath ( ) : string | Get the sanitised log path. | |
setBasePath ( string $path ) | Set the base path of where logs reside | |
setLogFile ( string $filename ) | Set the log filename | |
write ( string $message ) | Write a message line into the log file. |
public getLogFilePath ( ) : string | null | ||
Результат | string | null |
public getRawFilePath ( ) : string | ||
Результат | string |
public getSanitisedLogFilePath ( ) : string | ||
Результат | string |
public setBasePath ( string $path ) | ||
$path | string |
public setLogFile ( string $filename ) | ||
$filename | string |