plugin updates
This commit is contained in:
@@ -86,10 +86,12 @@ final class LoggingUtil {
|
||||
/**
|
||||
* Get the directory for storing log files.
|
||||
*
|
||||
* @param bool $create_dir Optional. True to attempt to create the log directory if it doesn't exist. Default true.
|
||||
*
|
||||
* @return string The full directory path, with trailing slash.
|
||||
*/
|
||||
public static function get_log_directory(): string {
|
||||
return Settings::get_log_directory();
|
||||
public static function get_log_directory( bool $create_dir = true ): string {
|
||||
return Settings::get_log_directory( $create_dir );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user