private function extract_log_objects_in_args( array $args, $hook_level ) {

		$logs = [];
		foreach ( $args as $arg ) {
			if ( $arg instanceof LogDataInterface ) {
				$logs[] = $this->maybe_raise_level( $hook_level, $arg );
			}

		}

		return $logs;
	}