From de0763c5f691980827c473a2cd979dc1ace49810 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 27 Feb 2023 18:09:15 +0100 Subject: [PATCH] Log: add filepath() method --- src/Log.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Log.php b/src/Log.php index fc98729..ba8642b 100644 --- a/src/Log.php +++ b/src/Log.php @@ -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