Automattic\WooCommerce\Utilities

LoggingUtil::get_log_directory_size()public staticWC 1.0

Calculate the size, in bytes, of the log directory.

Method of the class: LoggingUtil{}

No Hooks.

Return

Int.

Usage

$result = LoggingUtil::get_log_directory_size(): int;

LoggingUtil::get_log_directory_size() code WC 9.0.1

public static function get_log_directory_size(): int {
	return wc_get_container()->get( FileController::class )->get_log_directory_size();
}