Log: add filepath() method
This commit is contained in:
parent
4f46c38643
commit
de0763c5f6
1 changed files with 8 additions and 0 deletions
|
@ -289,6 +289,14 @@ class Log {
|
||||||
return True;
|
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
|
* Set current log level
|
||||||
* @param string $level The new log level to set
|
* @param string $level The new log level to set
|
||||||
|
|
Loading…
Reference in a new issue