Log: add filepath() method

This commit is contained in:
Benjamin Renard 2023-02-27 18:09:15 +01:00
parent 4f46c38643
commit de0763c5f6
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -289,6 +289,14 @@ class Log {
return True;
}
/**
* Get of current log file
* @return string|null Current log file path
*/
public static function filepath() {
return self :: $filepath;
}
/**
* Set current log level
* @param string $level The new log level to set