auto-patch 638-dev-dev01-2024-05-14T20_44_36
This commit is contained in:
@@ -83,6 +83,15 @@ final class LoggingUtil {
|
||||
return File::generate_hash( $file_id );
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the directory for storing log files.
|
||||
*
|
||||
* @return string The full directory path, with trailing slash.
|
||||
*/
|
||||
public static function get_log_directory(): string {
|
||||
return Settings::get_log_directory();
|
||||
}
|
||||
|
||||
/**
|
||||
* Calculate the size, in bytes, of the log directory.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user